summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2015-04-18 09:28:26 +0000
committerXuefer <xuefer@gmail.com>2015-04-18 09:28:26 +0000
commit4619a3c6c16b9bd9ab2468d5b990655b7d349488 (patch)
tree781454c927f563060f4cd6d5be313b3bce8fe3a6 /devel
parentf6184e8969bc27c3a342e92be73b1e98b7fa1cb3 (diff)
downloadxcache-4619a3c6c16b9bd9ab2468d5b990655b7d349488.tar.gz
xcache-4619a3c6c16b9bd9ab2468d5b990655b7d349488.zip
devel: fix cpp, remove default include
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1583 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'devel')
-rwxr-xr-xdevel/run4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/run b/devel/run
index 368d624..98c5e29 100755
--- a/devel/run
+++ b/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 "$@"