Browse Source

PHP<=5.3 cannot survive with -pedantic-errors

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1124 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
b01b4c516f
  1. 7
      devel/run

7
devel/run

@ -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 \

Loading…
Cancel
Save