|
|
|
@ -149,9 +149,14 @@ do_phpize() { # {{{1
|
|
|
|
|
exit
|
|
|
|
|
fi
|
|
|
|
|
export PATH=$PHPSDIR/$phpbasename/bin:$PATH
|
|
|
|
|
local pedantic=
|
|
|
|
|
case $phpbasename in
|
|
|
|
|
php5|php5.4) pedantic=-pedantic-errors;;
|
|
|
|
|
*) pedantic=-pedantic;;
|
|
|
|
|
esac
|
|
|
|
|
phpize --clean \
|
|
|
|
|
&& phpize \
|
|
|
|
|
&& CFLAGS="-g -O0 -pedantic-errors -Wno-variadic-macros -Wno-long-long -Wall -Wno-unused-parameter -Wno-unused-function -W -Wshadow -Werror=implicit-function-declaration -std=c89 -D_GNU_SOURCE -D_POSIX_SOURCE -Dinline=" ./configure \
|
|
|
|
|
&& CFLAGS="-g -O0 $pedanti -Wno-variadic-macros -Wno-long-long -Wall -Wno-unused-parameter -Wno-unused-function -W -Wshadow -Werror=implicit-function-declaration -std=c89 -D_GNU_SOURCE -D_POSIX_SOURCE -Dinline=" ./configure \
|
|
|
|
|
--enable-xcache-cacher \
|
|
|
|
|
--enable-xcache-optimizer \
|
|
|
|
|
--enable-xcache-encoder \
|
|
|
|
|