Skip to content

Commit 3ff1269

Browse files
committed
Prepend compiler warning flags to CFLAG instead to append them
1 parent 91d7e87 commit 3ff1269

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
@@ -212,7 +212,7 @@ else
212212
AC_DEFINE(ZEND_DEBUG,0,[ ])
213213
fi
214214
215-
test -n "$GCC" && CFLAGS="$CFLAGS -Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare"
215+
test -n "$GCC" && CFLAGS="-Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare $CFLAGS"
216216
dnl Check if compiler supports -Wno-clobbered (only GCC)
217217
AX_CHECK_COMPILE_FLAG([-Wno-clobbered], CFLAGS="$CFLAGS -Wno-clobbered", , [-Werror])
218218

0 commit comments

Comments
 (0)