diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-22 16:01:03 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-22 16:01:03 +0200 |
commit | 44c25fa48a8aa5e7c3a1d9a5b05ca87258b769ab (patch) | |
tree | 9e5f26db1753fe45e2333e8dc89affbd65f3761b | |
parent | 0d6b5e40365591465641c903276b6f501f4c3238 (diff) | |
download | packages-44c25fa48a8aa5e7c3a1d9a5b05ca87258b769ab.tar.xz |
extra/qt5-webkit: working around huge memory consumption when linking
-rw-r--r-- | extra/qt5-webkit/PKGBUILD | 7 |
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" + ' )" - |