summaryrefslogtreecommitdiff
path: root/user/firefox-esr/APKBUILD
diff options
context:
space:
mode:
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}"