mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/js115 to 115.4.0-2
This commit is contained in:
parent
d8c1387c20
commit
5eeec811e9
2 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue