diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index dad73ce91..07c2cbc8e 100644 --- a/configure.ac +++ b/configure.ac @@ -1599,7 +1599,6 @@ if test "$GCC" = yes; then if test x"$_gcc_wopt" = xyes ; then mycflags="$mycflags -W -Wno-sign-compare -Wno-format-zero-length" mycflags="$mycflags -Wno-missing-field-initializers" - mycflags="$mycflags -Wno-format-zero-length" fi AC_MSG_CHECKING([if gcc supports -Wdeclaration-after-statement]) @@ -1628,6 +1627,9 @@ if test "$GCC" = yes; then else mycflags="$mycflags -Wall" + if test x"$_gcc_silent_wno" = xyes ; then + mycflags="$mycflags -Wno-format-zero-length" + fi fi if test x"$_gcc_silent_wno" = xyes ; then |