@@ -193,28 +193,21 @@ AS_VAR_IF([GCC], [yes],
193193
194194dnl Check if compiler supports -Wno-clobbered (only GCC).
195195AX_CHECK_COMPILE_FLAG ( [ -Wno-clobbered] ,
196- [ CFLAGS="-Wno-clobbered $CFLAGS"] ,,
197- [ -Werror] )
196+ [ CFLAGS="-Wno-clobbered $CFLAGS"] )
198197dnl Check for support for implicit fallthrough level 1, also add after previous
199198dnl CFLAGS as level 3 is enabled in -Wextra.
200199AX_CHECK_COMPILE_FLAG ( [ -Wimplicit-fallthrough=1] ,
201- [ CFLAGS="$CFLAGS -Wimplicit-fallthrough=1"] ,,
202- [ -Werror] )
200+ [ CFLAGS="$CFLAGS -Wimplicit-fallthrough=1"] )
203201AX_CHECK_COMPILE_FLAG ( [ -Wduplicated-cond] ,
204- [ CFLAGS="-Wduplicated-cond $CFLAGS"] ,,
205- [ -Werror] )
202+ [ CFLAGS="-Wduplicated-cond $CFLAGS"] )
206203AX_CHECK_COMPILE_FLAG ( [ -Wlogical-op] ,
207- [ CFLAGS="-Wlogical-op $CFLAGS"] ,,
208- [ -Werror] )
204+ [ CFLAGS="-Wlogical-op $CFLAGS"] )
209205AX_CHECK_COMPILE_FLAG ( [ -Wformat-truncation] ,
210- [ CFLAGS="-Wformat-truncation $CFLAGS"] ,,
211- [ -Werror] )
206+ [ CFLAGS="-Wformat-truncation $CFLAGS"] )
212207AX_CHECK_COMPILE_FLAG ( [ -Wstrict-prototypes] ,
213- [ CFLAGS="-Wstrict-prototypes $CFLAGS"] ,,
214- [ -Werror] )
208+ [ CFLAGS="-Wstrict-prototypes $CFLAGS"] )
215209AX_CHECK_COMPILE_FLAG ( [ -fno-common] ,
216- [ CFLAGS="-fno-common $CFLAGS"] ,,
217- [ -Werror] )
210+ [ CFLAGS="-fno-common $CFLAGS"] )
218211
219212ZEND_CHECK_ALIGNMENT
220213ZEND_CHECK_SIGNALS
0 commit comments