aboutsummaryrefslogtreecommitdiff
path: root/development/phantomjs/phantomjs.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2012-11-10 10:31:07 +0100
committerHeinz Wiesinger <pprkut@slackbuilds.org>2012-11-10 10:31:44 +0100
commit42bf98dbaf8c49e4f885071ccab435b3c8b800e8 (patch)
tree7c9454db089796e5de281ed8fb106d77f5b10800 /development/phantomjs/phantomjs.SlackBuild
parent2a347174b0855c3b1fbb2d3abc2f85654796ea4b (diff)
development/phantomjs: Fix gold related build errors.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'development/phantomjs/phantomjs.SlackBuild')
-rw-r--r--development/phantomjs/phantomjs.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/development/phantomjs/phantomjs.SlackBuild b/development/phantomjs/phantomjs.SlackBuild
index 635afac56fe1..2c8f0a9458a2 100644
--- a/development/phantomjs/phantomjs.SlackBuild
+++ b/development/phantomjs/phantomjs.SlackBuild
@@ -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