diff options
author | devzero2000 <devzero2000> | 2014-04-15 11:49:00 +0000 |
---|---|---|
committer | devzero2000 <devzero2000> | 2014-04-15 11:49:00 +0000 |
commit | 9bc245e4c766d49cb66f1df6185c52b05716f0f0 (patch) | |
tree | 26a38d3aa1341e0eab501f4939d32c6fa434fc87 | |
parent | 3a593fff42c04e64f402d41718973ad21987b073 (diff) | |
download | libpopt-9bc245e4c766d49cb66f1df6185c52b05716f0f0.tar.gz |
configure.ac: add -Wdeclaration-after-statement if built with --enable-gcc-warnings
-rwxr-xr-x | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e2d3456..eba408d 100755 --- a/configure.ac +++ b/configure.ac @@ -130,6 +130,7 @@ AS_IF([test "x$popt_gcc_warnings" = xyes], popt_CFLAGS_ADD([-fipa-pure-const],[POPT_CFLAGS]) popt_CFLAGS_ADD([-Wno-aggregate-return],[POPT_CFLAGS]) popt_CFLAGS_ADD([-Wno-redundant-decls],[POPT_CFLAGS]) + popt_CFLAGS_ADD([-Wdeclaration-after-statement],[POPT_CFLAGS]) ]) # build popt with mudflap instrumentation (GCC only) |