Skip to content

Commit 4a088cb

Browse files
committed
Reinstate bloody warning
1 parent 715d208 commit 4a088cb

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
@@ -216,7 +216,7 @@ test -n "$GCC" && CFLAGS="$CFLAGS -Wall -Wextra -Wno-strict-aliasing -Wno-implic
216216
dnl Check if compiler supports -Wno-clobbered (only GCC)
217217
AX_CHECK_COMPILE_FLAG([-Wno-clobbered], CFLAGS="$CFLAGS -Wno-clobbered", , [-Werror])
218218
dnl Move -Wstrict-prototypes after because it messes with the -Wno-clobbered check
219-
CFLAGS = "$CFLAGS -Wstrict-prototypes"
219+
AX_CHECK_COMPILE_FLAG([-Wstrict-prototypes], CFLAGS="$CFLAGS -Wstrict-prototypes", , [-Werror])
220220
221221
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
222222

0 commit comments

Comments
 (0)