development/phantomjs: Fix gold related build errors.

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2012-11-10 10:31:07 +01:00
parent 2a347174b0
commit 42bf98dbaf

View file

@ -24,7 +24,7 @@
PRGNAM=phantomjs
VERSION=1.6.1
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -69,6 +69,9 @@ chmod -R u+w,go+r-w,a-s .
sed -i "s|-j\$COMPILE_JOBS||" src/qt/preconfig.sh
sed -i "s|export MAKEFLAGS=||" src/qt/preconfig.sh
# Don't use unsupported -fuse-ld=gold flag
sed -i "6,11d" src/qt/src/3rdparty/webkit/Source/common.pri
cd src/qt
./preconfig.sh