Browse Source

devel: fix cpp, remove default include

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1583 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
master
Xuefer 7 years ago
parent
commit
4619a3c6c1
  1. 4
      devel/run

4
devel/run

@ -168,7 +168,7 @@ do_phpize() { # {{{1
esac
phpize --clean \
&& phpize \
&& CFLAGS="$CFLAGS -g -O0 $pedantic -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="$CFLAGS -Dinline= -g -O0 $pedantic -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 \
@ -339,7 +339,7 @@ run() {
*.cpp.php)
< "$1" \
sed -r -e 's#__#____#g' \
| cpp -C -P -traditional-cpp -DPHP_VERSION=$phpVersion \
| cpp -C -P -traditional-cpp -undef -ffreestanding -DPHP_VERSION=$phpVersion \
| sed -r -e 's#^ +##g' -e 's#\t +#\t#g' -e 's#____#__#g' > devel.php || exit $?
shift
set -- devel.php "$@"

Loading…
Cancel
Save