diff --git a/extra/js115/.SRCINFO b/extra/js115/.SRCINFO index 93357b592..34d9f41d3 100644 --- a/extra/js115/.SRCINFO +++ b/extra/js115/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = js115 pkgdesc = JavaScript interpreter and libraries - Version 115 pkgver = 115.4.0 - pkgrel = 1 + pkgrel = 2 url = https://spidermonkey.dev/ arch = x86_64 license = MPL diff --git a/extra/js115/PKGBUILD b/extra/js115/PKGBUILD index 16732203e..94ae42bd9 100644 --- a/extra/js115/PKGBUILD +++ b/extra/js115/PKGBUILD @@ -6,7 +6,7 @@ pkgname=js115 pkgver=115.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="JavaScript interpreter and libraries - Version 115" url="https://spidermonkey.dev/" arch=(x86_64) @@ -65,7 +65,6 @@ ac_add_options --disable-debug ac_add_options --disable-lto ac_add_options --disable-jemalloc ac_add_options --disable-strip -ac_add_options --disable-unified-build # System libraries ac_add_options --with-system-zlib @@ -90,6 +89,10 @@ build() { CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}" CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}" + # Greatly reduce size of relocation tables + # https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0023-pack-relative-relocs.rst + LDFLAGS+=" -Wl,-z,pack-relative-relocs" + cat >.mozconfig ../mozconfig ./mach build }