diff options
author | Zach van Rijn <me@zv.io> | 2023-04-30 09:27:49 -0700 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-04-30 09:49:39 -0700 |
commit | 3ca155d87fef0da13c2f1f865acaced8c08ece4f (patch) | |
tree | 26573dcdc7b5954bfe8418f2fd22cca2ab6add4e /user | |
parent | 177350191f25462e2e7f63a44a6c1e2fb3ac9575 (diff) | |
download | packages-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')
-rw-r--r-- | user/firefox-esr/APKBUILD | 7 | ||||
-rw-r--r-- | user/thunderbird/APKBUILD | 7 |
2 files changed, 14 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}" diff --git a/user/thunderbird/APKBUILD b/user/thunderbird/APKBUILD index 02693efca..b115202f3 100644 --- a/user/thunderbird/APKBUILD +++ b/user/thunderbird/APKBUILD @@ -104,6 +104,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}" |