diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-28 09:17:16 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-28 09:17:16 +0200 |
commit | 76ffb3d4f70daadd5e5a27e4e64b9df2a58f184b (patch) | |
tree | 74711e621f38fa1ab09b02754432e7e5ebcfd50b | |
parent | 654ff92da5ad15d267322042f12f86cdc212a2e0 (diff) | |
download | packages-76ffb3d4f70daadd5e5a27e4e64b9df2a58f184b.tar.xz |
extra/wpewebkit: avoid running out of memory when linking
-rw-r--r-- | extra/wpewebkit/PKGBUILD | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/wpewebkit/PKGBUILD b/extra/wpewebkit/PKGBUILD index 1e02c2d6..d6499394 100644 --- a/extra/wpewebkit/PKGBUILD +++ b/extra/wpewebkit/PKGBUILD @@ -2,3 +2,13 @@ if [ "$CARCH" = 'i486' ]; then makedepends=(${makedepends[@]//gst-plugins-bad/}) fi + +# linker runs out of memory on 32-bit +eval "$( + declare -f build | \ + sed ' + 3 i LDFLAGS+=" -Wl,--no-keep-memory" + 3 i CFLAGS+=" -g1" + 3 i CXXFLAGS+=" -g1" + ' +)" |