From 1dcac9112fd62ffc2877308abe851c058f627fa3 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Mon, 12 Dec 2011 13:37:13 -0200 Subject: [PATCH] build-sys: move remaining warning flags to configure --- autogen.sh | 6 +----- configure.ac | 4 ++++ 2 files changed, 5 insertions(+), 5 deletions(-) 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 \ -- 2.39.2