From 5eeec811e9565a6273eccbd72c2ae2e136bf7bbc Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 7 Nov 2023 04:16:32 +0000 Subject: [PATCH] extra/js115 to 115.4.0-2 --- extra/js115/.SRCINFO | 2 +- extra/js115/PKGBUILD | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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 }