diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-22 18:30:02 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-22 18:30:02 +0100 |
commit | 49a16de834961e0ddf247be46b116bd2d0cd35bb (patch) | |
tree | 7b8120a3a607f3cd1e427babd51add9bebcce73e /extra/js/PKGBUILD | |
parent | 47d70348352503e92ba694a6a683f629eaa18215 (diff) |
Really disable JIT in js.
Diffstat (limited to 'extra/js/PKGBUILD')
-rw-r--r-- | extra/js/PKGBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/extra/js/PKGBUILD b/extra/js/PKGBUILD index 2f054c7bb..3981cdb09 100644 --- a/extra/js/PKGBUILD +++ b/extra/js/PKGBUILD @@ -18,10 +18,18 @@ md5sums=('a4574365938222adca0a6bd33329cb32' build() { cd "$srcdir/$pkgname-$pkgver/js/src" + if [ "$CARCH" = "mips64el" ]; then + # Force disabling JIT. + sed -ri 's/#define ENABLE_(JIT|ASSEMBLER) 1/#define ENABLE_\1 0/' \ + assembler/wtf/Platform.h + sed -ri 's/ENABLE_(JIT|ASSEMBLER)=1/ENABLE_\1=0/' Makefile.{in,ref} + extraconf="--disable-methodjit --disable-tracejit" + fi + patch -Np0 -i $srcdir/js185-destdir.patch ./configure --prefix=/usr --with-system-nspr \ - --enable-threadsafe + --enable-threadsafe $extraconf make } |