@@ -192,28 +192,21 @@ AS_VAR_IF([GCC], [yes],
192192
193193dnl Check if compiler supports -Wno-clobbered (only GCC).
194194AX_CHECK_COMPILE_FLAG ( [ -Wno-clobbered] ,
195- [ CFLAGS="-Wno-clobbered $CFLAGS"] ,,
196- [ -Werror] )
195+ [ CFLAGS="-Wno-clobbered $CFLAGS"] )
197196dnl Check for support for implicit fallthrough level 1, also add after previous
198197dnl CFLAGS as level 3 is enabled in -Wextra.
199198AX_CHECK_COMPILE_FLAG ( [ -Wimplicit-fallthrough=1] ,
200- [ CFLAGS="$CFLAGS -Wimplicit-fallthrough=1"] ,,
201- [ -Werror] )
199+ [ CFLAGS="$CFLAGS -Wimplicit-fallthrough=1"] )
202200AX_CHECK_COMPILE_FLAG ( [ -Wduplicated-cond] ,
203- [ CFLAGS="-Wduplicated-cond $CFLAGS"] ,,
204- [ -Werror] )
201+ [ CFLAGS="-Wduplicated-cond $CFLAGS"] )
205202AX_CHECK_COMPILE_FLAG ( [ -Wlogical-op] ,
206- [ CFLAGS="-Wlogical-op $CFLAGS"] ,,
207- [ -Werror] )
203+ [ CFLAGS="-Wlogical-op $CFLAGS"] )
208204AX_CHECK_COMPILE_FLAG ( [ -Wformat-truncation] ,
209- [ CFLAGS="-Wformat-truncation $CFLAGS"] ,,
210- [ -Werror] )
205+ [ CFLAGS="-Wformat-truncation $CFLAGS"] )
211206AX_CHECK_COMPILE_FLAG ( [ -Wstrict-prototypes] ,
212- [ CFLAGS="-Wstrict-prototypes $CFLAGS"] ,,
213- [ -Werror] )
207+ [ CFLAGS="-Wstrict-prototypes $CFLAGS"] )
214208AX_CHECK_COMPILE_FLAG ( [ -fno-common] ,
215- [ CFLAGS="-fno-common $CFLAGS"] ,,
216- [ -Werror] )
209+ [ CFLAGS="-fno-common $CFLAGS"] )
217210
218211ZEND_CHECK_ALIGNMENT
219212ZEND_CHECK_SIGNALS
0 commit comments