diff options
author | Matt Thirtytwo <matt.59491@gmail.com> | 2015-03-05 20:26:55 +0100 |
---|---|---|
committer | Harald Judt <h.judt@gmx.at> | 2015-03-13 14:03:49 +0100 |
commit | b627d837b5e1bf98f403ef1fb4cdab18eeb6bfe8 (patch) | |
tree | faed8c8f7e5f0101e38fb209fe567471bc8c6f4f /m4macros | |
parent | 5eb3f0cd923711f1e005bb41dc324d6bbba31c91 (diff) | |
download | xfce4-dev-tools-b627d837b5e1bf98f403ef1fb4cdab18eeb6bfe8.tar.gz |
No -Wshadow flag for enable_debug=full (bug #11637)xfce-4.12
Use it only for enable_debug=yes.
Diffstat (limited to 'm4macros')
-rw-r--r-- | m4macros/xdt-features.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4 index 239cd4f..c4ba116 100644 --- a/m4macros/xdt-features.m4 +++ b/m4macros/xdt-features.m4 @@ -73,7 +73,7 @@ AC_HELP_STRING([--disable-debug], [Include no debugging support]), -Wno-unused-parameter -Wold-style-definition \ -Wdeclaration-after-statement \ -Wmissing-declarations \ - -Wmissing-noreturn -Wshadow -Wpointer-arith \ + -Wmissing-noreturn -Wpointer-arith \ -Wcast-align -Wformat -Wformat-security -Wformat-y2k \ -Winit-self -Wmissing-include-dirs -Wundef \ -Wnested-externs" @@ -94,7 +94,7 @@ AC_HELP_STRING([--disable-debug], [Include no debugging support]), CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG" AC_MSG_RESULT([full]) else - xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g" + xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow" AC_MSG_RESULT([yes]) fi |