summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-11-20 21:09:56 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-11-20 21:09:56 +0100
commit919c58686b8ea7d23f31a6d4b00db195c0e77315 (patch)
tree658ac77e40f9ce03de17e181d334b87cf5b9a661
parent825ec2b636a39eca3bd3f283ef520b1a7ece5630 (diff)
downloadpackages-919c58686b8ea7d23f31a6d4b00db195c0e77315.tar.xz
extra/firefox: another memory how ld bugfix trial, in the Archlinux ARM way
-rw-r--r--extra/firefox/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD
index 5087c006..c897dbef 100644
--- a/extra/firefox/PKGBUILD
+++ b/extra/firefox/PKGBUILD
@@ -7,6 +7,10 @@ eval "$(
sed '
$ i export MOZ_SOURCE_CHANGESET="DEVEDITION_${pkgver//./_}_RELEASE"
'
+ declare -f prepare | \
+ sed '
+ /}/ i LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+ '
)"
for ((i=0; i<${#source[@]}; i++)); do
infos=$(