aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-10-10 10:31:31 +0200
committerDiego Biurrun <diego@biurrun.de>2011-10-10 13:50:26 +0200
commitc2ed91de84b3183a6cf2fe94e12236dd8bf45dc7 (patch)
treeff447fbda9d6bd1930e1e46c8602adae7343fc23
parent2886f6759f31b192935761544c25d3677d66d24e (diff)
configure: Add -Wstrict-prototypes to CFLAGS if available.
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 22735e788e..f5a285e6d1 100755
--- a/configure
+++ b/configure
@@ -2992,6 +2992,7 @@ check_cflags -Wwrite-strings
check_cflags -Wtype-limits
check_cflags -Wundef
check_cflags -Wmissing-prototypes
+check_cflags -Wstrict-prototypes
enabled extra_warnings && check_cflags -Winline
# add some linker flags