From: Lucas De Marchi Date: Mon, 12 Dec 2011 15:37:13 +0000 (-0200) Subject: build-sys: move remaining warning flags to configure X-Git-Tag: v1~51 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fkmod.git;a=commitdiff_plain;h=1dcac9112fd62ffc2877308abe851c058f627fa3;ds=sidebyside build-sys: move remaining warning flags to configure --- diff --git a/autogen.sh b/autogen.sh index e725c5d..349f75b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,11 +2,7 @@ autoreconf --install --symlink -MYCFLAGS="-g \ --Wnested-externs \ --Wchar-subscripts \ --Wtype-limits \ --Wuninitialized" +MYCFLAGS="-g" libdir() { echo $(cd $1/$(gcc -print-multi-os-directory); pwd) diff --git a/configure.ac b/configure.ac index f5b16e8..5156cb6 100644 --- a/configure.ac +++ b/configure.ac @@ -75,6 +75,10 @@ CC_CHECK_CFLAGS_APPEND([ \ -Wno-unused-parameter \ -Wno-missing-field-initializers \ -Wno-unused-result \ + -Wnested-externs \ + -Wchar-subscripts \ + -Wtype-limits \ + -Wuninitialized \ -Wp,-D_FORTIFY_SOURCE=2 \ -ffast-math \ -fno-common \