From 44c25fa48a8aa5e7c3a1d9a5b05ca87258b769ab Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 22 Apr 2021 16:01:03 +0200 Subject: extra/qt5-webkit: working around huge memory consumption when linking --- extra/qt5-webkit/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'extra/qt5-webkit') diff --git a/extra/qt5-webkit/PKGBUILD b/extra/qt5-webkit/PKGBUILD index e8e2ecbd..bf7c1225 100644 --- a/extra/qt5-webkit/PKGBUILD +++ b/extra/qt5-webkit/PKGBUILD @@ -4,5 +4,10 @@ eval "$( sed ' s/cmake -B build/cmake -B build -DUSE_LD_GOLD=OFF / ' + 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