]> git.meshlink.io Git - catta/commitdiff
build-sys: fix compiler warnings to make build more silent
authorLennart Poettering <lennart@poettering.net>
Fri, 25 Jun 2010 18:46:39 +0000 (20:46 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 25 Jun 2010 18:46:39 +0000 (20:46 +0200)
configure.ac

index 1426f54e3b5be114d6d82f6377cef8a5d205e406..d4f45eaded66b5a5ca4f89d73f55297a0125abb4 100644 (file)
@@ -306,7 +306,7 @@ test_gcc_flag() {
 # If using GCC specify some additional parameters
 if test "x$GCC" = "xyes" ; then
 
-    DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -fdiagnostics-show-option -Wno-cast-qual"
+    DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -fdiagnostics-show-option -Wno-cast-qual -fno-strict-aliasing"
 
     if test "x$HAVE_NETLINK" = "xyes" ; then
         # Test whether rtnetlink.h can be included when compiled with -std=c99