From e3b73e39b4c26b5f31b1d2b0603b41e20e156856 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 9 May 2021 19:16:00 +0200 Subject: extra/webkit2gtk: added flags to minimize memory usage when linking --- extra/webkit2gtk/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'extra/webkit2gtk') diff --git a/extra/webkit2gtk/PKGBUILD b/extra/webkit2gtk/PKGBUILD index 4c4fb0aa..6919b547 100644 --- a/extra/webkit2gtk/PKGBUILD +++ b/extra/webkit2gtk/PKGBUILD @@ -28,3 +28,13 @@ eval "$( } ' )" + +# 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" + ' +)" -- cgit v1.2.3-70-g09d2