From 6ff0c2d5d7852501d07fc15ca9baf8f613a04893 Mon Sep 17 00:00:00 2001 From: "Tuan M. Hoang" Date: Fri, 21 Apr 2017 19:22:22 -0400 Subject: community/firefox-esr: fix build on s390x ('Error while running startup cache precompilation') at resource://gre/modules/addons/XPIProviderUtils.js Previously this error was mitigated by lowering optimization level to -O1 on s390x but no more with new esr release. --- community/firefox-esr/APKBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'community/firefox-esr') diff --git a/community/firefox-esr/APKBUILD b/community/firefox-esr/APKBUILD index b5d4253d7ad..6488145cc4d 100644 --- a/community/firefox-esr/APKBUILD +++ b/community/firefox-esr/APKBUILD @@ -105,6 +105,9 @@ build() { # set rpath so linker finds the libs export LDFLAGS="$LDFLAGS -Wl,-rpath,${_mozappdir}" + local extra_flags="" + [ "$CARCH" = "s390x" ] && extra_flags="--disable-startupcache" + ../configure \ --prefix=/usr \ \ @@ -141,7 +144,7 @@ build() { --with-system-pixman \ --with-system-png \ --with-system-zlib \ - || return 1 + $extra_flags make || return 1 # paxmark outside fakeroot -- cgit v1.2.3