From 3744533468767441f13ebbdda52f354ada0764fc Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 12 Apr 2019 12:09:09 +0200 Subject: Enable -Wall on release builds for GCC -Wall was already enabled for debug builds, enable it for release builds as well. --- Zend/Zend.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zend/Zend.m4') diff --git a/Zend/Zend.m4 b/Zend/Zend.m4 index 0755a58f14..44cdcee71e 100644 --- a/Zend/Zend.m4 +++ b/Zend/Zend.m4 @@ -101,13 +101,13 @@ if test "$ZEND_DEBUG" = "yes"; then if test "$CFLAGS" = "-g -O2"; then CFLAGS=-g fi - test -n "$GCC" && DEBUG_CFLAGS="$DEBUG_CFLAGS -Wall" test -n "$GCC" && test "$USE_MAINTAINER_MODE" = "yes" && \ DEBUG_CFLAGS="$DEBUG_CFLAGS -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations" else AC_DEFINE(ZEND_DEBUG,0,[ ]) fi +test -n "$GCC" && CFLAGS="$CFLAGS -Wall" test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS" if test "$ZEND_MAINTAINER_ZTS" = "yes"; then -- cgit v1.2.1