summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-02 22:53:38 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-02 22:53:38 -0300
commit5f74139e49aec90fef556447373608db10d9f1e6 (patch)
tree5f7de36440c8a1af6d3e684176e604c2e4f61072 /libre
parentc510c6eb424633654598a6268ad93d225d2318ca (diff)
downloadabslibre-5f74139e49aec90fef556447373608db10d9f1e6.tar.gz
abslibre-5f74139e49aec90fef556447373608db10d9f1e6.tar.bz2
abslibre-5f74139e49aec90fef556447373608db10d9f1e6.zip
don't build jit on mips64el
Diffstat (limited to 'libre')
-rw-r--r--libre/iceweasel-libre/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD
index 66e441d75..fdca2f627 100644
--- a/libre/iceweasel-libre/PKGBUILD
+++ b/libre/iceweasel-libre/PKGBUILD
@@ -109,6 +109,17 @@ fi
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