summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-22 16:01:03 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-22 16:01:03 +0200
commit44c25fa48a8aa5e7c3a1d9a5b05ca87258b769ab (patch)
tree9e5f26db1753fe45e2333e8dc89affbd65f3761b
parent0d6b5e40365591465641c903276b6f501f4c3238 (diff)
downloadpackages-44c25fa48a8aa5e7c3a1d9a5b05ca87258b769ab.tar.xz
extra/qt5-webkit: working around huge memory consumption when linking
-rw-r--r--extra/qt5-webkit/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
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"
+ '
)"
-