From 4619a3c6c16b9bd9ab2468d5b990655b7d349488 Mon Sep 17 00:00:00 2001 From: Xuefer Date: Sat, 18 Apr 2015 09:28:26 +0000 Subject: [PATCH] devel: fix cpp, remove default include git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1583 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- devel/run | 4 ++-- 1 file 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 "$@"