]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
build-sys: remove duplicated warning flags
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 12 Dec 2011 15:26:34 +0000 (13:26 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 12 Dec 2011 15:26:34 +0000 (13:26 -0200)
"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.

autogen.sh

index bfb165ca199acd88a067261bf8fa50d1c217d4a6..e725c5dba4e70e44478659b0cb2a76d2f43dccf9 100755 (executable)
@@ -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)