summaryrefslogtreecommitdiff
path: root/libre/iceweasel-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-26 22:10:52 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-26 22:10:52 -0300
commit03da82a569b6150d5dc8111645560c908b8e3380 (patch)
tree73bceed66cfb16309419df101db650560f7622e3 /libre/iceweasel-libre
parent69f88b708f1b9a32680bdfe52138c0ef5916da19 (diff)
iceweasel-libre: add work around memory address space exhaustion during linking on i686
Diffstat (limited to 'libre/iceweasel-libre')
-rw-r--r--libre/iceweasel-libre/PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD
index 8e1c525c3..622dfe550 100644
--- a/libre/iceweasel-libre/PKGBUILD
+++ b/libre/iceweasel-libre/PKGBUILD
@@ -166,6 +166,11 @@ build() {
export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/$_pkgname"
export PYTHON="/usr/bin/python2"
+ # Work around memory address space exhaustion during linking on i686
+ if [[ $CARCH == i686 ]]; then
+ LDFLAGS+=' -Wl,--no-keep-memory'
+ fi
+
if $_pgo; then
export DISPLAY=:99
Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 $DISPLAY &