extra/js115 to 115.4.0-2

This commit is contained in:
Kevin Mihelich 2023-11-07 04:16:32 +00:00
parent d8c1387c20
commit 5eeec811e9
2 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = js115 pkgbase = js115
pkgdesc = JavaScript interpreter and libraries - Version 115 pkgdesc = JavaScript interpreter and libraries - Version 115
pkgver = 115.4.0 pkgver = 115.4.0
pkgrel = 1 pkgrel = 2
url = https://spidermonkey.dev/ url = https://spidermonkey.dev/
arch = x86_64 arch = x86_64
license = MPL license = MPL

View file

@ -6,7 +6,7 @@
pkgname=js115 pkgname=js115
pkgver=115.4.0 pkgver=115.4.0
pkgrel=1 pkgrel=2
pkgdesc="JavaScript interpreter and libraries - Version 115" pkgdesc="JavaScript interpreter and libraries - Version 115"
url="https://spidermonkey.dev/" url="https://spidermonkey.dev/"
arch=(x86_64) arch=(x86_64)
@ -65,7 +65,6 @@ ac_add_options --disable-debug
ac_add_options --disable-lto ac_add_options --disable-lto
ac_add_options --disable-jemalloc ac_add_options --disable-jemalloc
ac_add_options --disable-strip ac_add_options --disable-strip
ac_add_options --disable-unified-build
# System libraries # System libraries
ac_add_options --with-system-zlib ac_add_options --with-system-zlib
@ -90,6 +89,10 @@ build() {
CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}" CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
CXXFLAGS="${CXXFLAGS/_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 cat >.mozconfig ../mozconfig
./mach build ./mach build
} }