@@ -193,28 +193,21 @@ AS_VAR_IF([GCC], [yes],
193
193
194
194
dnl Check if compiler supports -Wno-clobbered (only GCC).
195
195
AX_CHECK_COMPILE_FLAG ( [ -Wno-clobbered] ,
196
- [ CFLAGS="-Wno-clobbered $CFLAGS"] ,,
197
- [ -Werror] )
196
+ [ CFLAGS="-Wno-clobbered $CFLAGS"] )
198
197
dnl Check for support for implicit fallthrough level 1, also add after previous
199
198
dnl CFLAGS as level 3 is enabled in -Wextra.
200
199
AX_CHECK_COMPILE_FLAG ( [ -Wimplicit-fallthrough=1] ,
201
- [ CFLAGS="$CFLAGS -Wimplicit-fallthrough=1"] ,,
202
- [ -Werror] )
200
+ [ CFLAGS="$CFLAGS -Wimplicit-fallthrough=1"] )
203
201
AX_CHECK_COMPILE_FLAG ( [ -Wduplicated-cond] ,
204
- [ CFLAGS="-Wduplicated-cond $CFLAGS"] ,,
205
- [ -Werror] )
202
+ [ CFLAGS="-Wduplicated-cond $CFLAGS"] )
206
203
AX_CHECK_COMPILE_FLAG ( [ -Wlogical-op] ,
207
- [ CFLAGS="-Wlogical-op $CFLAGS"] ,,
208
- [ -Werror] )
204
+ [ CFLAGS="-Wlogical-op $CFLAGS"] )
209
205
AX_CHECK_COMPILE_FLAG ( [ -Wformat-truncation] ,
210
- [ CFLAGS="-Wformat-truncation $CFLAGS"] ,,
211
- [ -Werror] )
206
+ [ CFLAGS="-Wformat-truncation $CFLAGS"] )
212
207
AX_CHECK_COMPILE_FLAG ( [ -Wstrict-prototypes] ,
213
- [ CFLAGS="-Wstrict-prototypes $CFLAGS"] ,,
214
- [ -Werror] )
208
+ [ CFLAGS="-Wstrict-prototypes $CFLAGS"] )
215
209
AX_CHECK_COMPILE_FLAG ( [ -fno-common] ,
216
- [ CFLAGS="-fno-common $CFLAGS"] ,,
217
- [ -Werror] )
210
+ [ CFLAGS="-fno-common $CFLAGS"] )
218
211
219
212
ZEND_CHECK_ALIGNMENT
220
213
ZEND_CHECK_SIGNALS
0 commit comments