Skip to content

Commit 3744533

Browse files
committed
Enable -Wall on release builds for GCC
-Wall was already enabled for debug builds, enable it for release builds as well.
1 parent ba40f50 commit 3744533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/Zend.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ if test "$ZEND_DEBUG" = "yes"; then
101101
if test "$CFLAGS" = "-g -O2"; then
102102
CFLAGS=-g
103103
fi
104-
test -n "$GCC" && DEBUG_CFLAGS="$DEBUG_CFLAGS -Wall"
105104
test -n "$GCC" && test "$USE_MAINTAINER_MODE" = "yes" && \
106105
DEBUG_CFLAGS="$DEBUG_CFLAGS -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations"
107106
else
108107
AC_DEFINE(ZEND_DEBUG,0,[ ])
109108
fi
110109
110+
test -n "$GCC" && CFLAGS="$CFLAGS -Wall"
111111
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
112112
113113
if test "$ZEND_MAINTAINER_ZTS" = "yes"; then

0 commit comments

Comments
 (0)