From: Lucas De Marchi Date: Mon, 12 Dec 2011 15:26:34 +0000 (-0200) Subject: build-sys: remove duplicated warning flags X-Git-Tag: v1~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57a034ede488afc900fb87f9c806bb117cbcc4d0;p=thirdparty%2Fkmod.git build-sys: remove duplicated warning flags "822ce23 beef compile flags" added warning flags to configure, but some of them were already present in autogen.sh. Remove the flags from autogen.sh. --- diff --git a/autogen.sh b/autogen.sh index bfb165ca..e725c5db 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,17 +2,11 @@ autoreconf --install --symlink -MYCFLAGS="-g -Wall -Wextra \ --Wmissing-declarations -Wmissing-prototypes \ --Wnested-externs -Wpointer-arith \ --Wpointer-arith -Wsign-compare -Wchar-subscripts \ --Wstrict-prototypes -Wshadow \ --Wformat-security -Wtype-limits \ --Wformat=2 -Wuninitialized -Winit-self -Wundef \ --Wmissing-include-dirs -Wold-style-definition \ --Wfloat-equal -Wredundant-decls -Wendif-labels \ --Wcast-align -Wstrict-aliasing -Wwrite-strings \ --Wno-unused-parameter" +MYCFLAGS="-g \ +-Wnested-externs \ +-Wchar-subscripts \ +-Wtype-limits \ +-Wuninitialized" libdir() { echo $(cd $1/$(gcc -print-multi-os-directory); pwd)