summaryrefslogtreecommitdiff
path: root/user/firefox-esr/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-04-30 09:27:49 -0700
committerZach van Rijn <me@zv.io>2023-04-30 09:49:39 -0700
commit3ca155d87fef0da13c2f1f865acaced8c08ece4f (patch)
tree26573dcdc7b5954bfe8418f2fd22cca2ab6add4e /user/firefox-esr/APKBUILD
parent177350191f25462e2e7f63a44a6c1e2fb3ac9575 (diff)
downloadpackages-3ca155d87fef0da13c2f1f865acaced8c08ece4f.tar.gz
packages-3ca155d87fef0da13c2f1f865acaced8c08ece4f.tar.bz2
packages-3ca155d87fef0da13c2f1f865acaced8c08ece4f.tar.xz
packages-3ca155d87fef0da13c2f1f865acaced8c08ece4f.zip
user/{firefox-esr,thunderbird}: disable armv7 debug symbols. fixes #1012.
Diffstat (limited to 'user/firefox-esr/APKBUILD')
-rw-r--r--user/firefox-esr/APKBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/firefox-esr/APKBUILD b/user/firefox-esr/APKBUILD
index b4e4f2303..fa19cb879 100644
--- a/user/firefox-esr/APKBUILD
+++ b/user/firefox-esr/APKBUILD
@@ -90,6 +90,13 @@ build() {
# gcc 6
export CXXFLAGS="-fno-delete-null-pointer-checks -fno-schedule-insns2"
+ case "${CARCH}" in
+ armv7)
+ # 32-bit memory ceiling, #1012
+ LDFLAGS="${LDFLAGS} -Wl,--strip-debug";
+ ;;
+ esac
+
# set rpath so linker finds the libs
export LDFLAGS="$LDFLAGS -Wl,-rpath,${_mozappdir}"