File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -212,9 +212,13 @@ else
212
212
AC_DEFINE ( ZEND_DEBUG ,0 ,[ ] )
213
213
fi
214
214
215
- test -n "$GCC" && CFLAGS="-Wall -Wextra -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wformat-truncation - Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare -fno-common $CFLAGS"
215
+ test -n "$GCC" && CFLAGS="-Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare -fno-common $CFLAGS"
216
216
dnl Check if compiler supports -Wno-clobbered (only GCC)
217
217
AX_CHECK_COMPILE_FLAG ( [ -Wno-clobbered] , CFLAGS="-Wno-clobbered $CFLAGS" , , [ -Werror] )
218
+ AX_CHECK_COMPILE_FLAG ( [ -Wduplicated-cond] , CFLAGS="-Wduplicated-cond $CFLAGS" , , [ -Werror] )
219
+ AX_CHECK_COMPILE_FLAG ( [ -Wduplicated-branches] , CFLAGS="-Wduplicated-branches $CFLAGS" , , [ -Werror] )
220
+ AX_CHECK_COMPILE_FLAG ( [ -Wlogical-op] , CFLAGS="-Wlogical-op $CFLAGS" , , [ -Werror] )
221
+ AX_CHECK_COMPILE_FLAG ( [ -Wformat-truncation ] , CFLAGS="-Wformat-truncation $CFLAGS" , , [ -Werror] )
218
222
219
223
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
220
224
You can’t perform that action at this time.
0 commit comments