Commit 153965eb authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated mozjs to 68.11.0

parent 270adb53
......@@ -6,14 +6,14 @@ mozjs:
mkswap swap
swapon swap
tar xf mozjs-60.1.0.tar.bz2
mkdir -p mozjs-60.1.0/mozjs-build
cd mozjs-60.1.0/mozjs-build && PATH=/build/usr/bin:$$PATH SHELL=/bin/bash ../js/src/configure --prefix=/usr --with-intl-api --with-system-zlib --with-system-icu --disable-jemalloc --enable-readline
$(MAKE) -C mozjs-60.1.0/mozjs-build SHELL=/bin/bash
strip --strip-debug mozjs-60.1.0/mozjs-build/js/src/build/libjs_static.a
strip --strip-debug mozjs-60.1.0/mozjs-build/js/src/build/libmozjs-60.so
$(MAKE) -C mozjs-60.1.0/mozjs-build install SHELL=/bin/bash
rm -rf mozjs-60.1.0
tar xf firefox-68.11.0esr.source.tar.xz
patch -Np1 -d firefox-68.11.0 < firefox-68.11.0-no_rust.patch
mkdir -p firefox-68.11.0/obj
cd firefox-68.11.0/obj && PATH=/build/usr/bin:$$PATH SHELL=/bin/bash CC=gcc CXX=g++ LLVM_OBJDUMP=/bin/false ../js/src/configure --prefix=/usr --with-intl-api --with-system-zlib --with-system-icu --disable-jemalloc --disable-debug-symbols --enable-readline
$(MAKE) -C firefox-68.11.0/obj SHELL=/bin/bash
$(MAKE) -C firefox-68.11.0/obj install SHELL=/bin/bash
rm -v /usr/lib/libjs_static.ajs
rm -rf firefox-68.11.0
swapoff swap
rm -rf swap
......
diff -uNr firefox-68.11.0/js/moz.configure firefox-68.11.0-no_rust/js/moz.configure
--- firefox-68.11.0/js/moz.configure 2020-07-21 06:32:46.000000000 +0930
+++ firefox-68.11.0-no_rust/js/moz.configure 2021-07-30 02:22:08.716054540 +0930
@@ -18,11 +18,6 @@
option(env='JS_STANDALONE', default=building_js,
help='Reserved for internal use')
-include('../build/moz.configure/rust.configure',
- when='--enable-compile-environment')
-include('../build/moz.configure/bindgen.configure',
- when='--enable-compile-environment')
-
@depends('JS_STANDALONE')
def js_standalone(value):
if value:
......@@ -6,7 +6,5 @@ lib
/usr/lib/lib.*
pkg
/usr/lib/pkgconfig/.*
bytecode
/.*\.py[oc]
etc
/etc/.*
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment