fix config.m4

This commit is contained in:
CismonX 2018-03-22 22:50:25 +08:00
parent d3922b8db2
commit ef1254ed94
1 changed files with 3 additions and 3 deletions

View File

@ -6,10 +6,10 @@ PHP_ARG_ENABLE(collections, for debug support,
if test "$PHP_COLLECTIONS" != "no"; then
if test "$PHP_COLLECTIONS_DEBUG" != "no"; then
EXTRA_CFLAGS="-O2"
CFLAGS="-O2"
else
EXTRA_CFLAGS="-g -O0"
CFLAGS="-g -O0"
fi
COLLECTIONS_SRC="collections.c collections_fe.c collections_methods.c"
PHP_NEW_EXTENSION(collections, $COLLECTIONS_SRC, $ext_shared,, $EXTRA_CFLAGS)
PHP_NEW_EXTENSION(collections, $COLLECTIONS_SRC, $ext_shared)
fi