summaryrefslogtreecommitdiff
path: root/libre/iceweasel-libre/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-13 01:21:42 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-13 01:21:42 -0500
commit7a75a6e8f80f8f75cf4b153da6f0ef8139019420 (patch)
tree77ccb8c42c0e357c3e29cc34df5d27af23c6cddb /libre/iceweasel-libre/PKGBUILD
parent41e7c35e69c20a899f7517eef3d278c7202b40a9 (diff)
parent0cbe19131a3050c8675c9b6561d9f7ab499b2c96 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/iceweasel-libre/PKGBUILD')
-rwxr-xr-xlibre/iceweasel-libre/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD
index e7cdb2249..7532436d7 100755
--- a/libre/iceweasel-libre/PKGBUILD
+++ b/libre/iceweasel-libre/PKGBUILD
@@ -98,6 +98,17 @@ build() {
cat "$srcdir/mozconfig.pgo" >> .mozconfig
fi
+# From js on abslibre-mips64el.git
+ if [ "$CARCH" = "mips64el" ]; then
+ msg "Force disabling JIT."
+ sed -ri 's/#define ENABLE_(JIT|ASSEMBLER) 1/#define ENABLE_\1 0/' \
+ js/src/assembler/wtf/Platform.h
+ sed -ri 's/ENABLE_(JIT|ASSEMBLER)=1/ENABLE_\1=0/' js/src/Makefile.{in,ref}
+
+ echo "ac_add_options --disable-methodjit" >> .mozconfig
+ echo "ac_add_options --disable-tracejit" >> .mozconfig
+ fi
+
# Fix PRE_RELEASE_SUFFIX
sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' \
browser/base/Makefile.in