Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt5-webengine/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-16 09:40:40 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-06-16 09:40:40 +0200
commit548c6538153d3840658c62c11e136ec9d1f91269 (patch)
treec495f2526f4abbf4e87e0612a2904e94385748f2 /extra/qt5-webengine/PKGBUILD
parent4dc6820009e29b9cb855ee78f25df3552c95431c (diff)
extra/qt5-webengine: trying to build without -pipe
Diffstat (limited to 'extra/qt5-webengine/PKGBUILD')
-rw-r--r--extra/qt5-webengine/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/qt5-webengine/PKGBUILD b/extra/qt5-webengine/PKGBUILD
index 22fbd739..308f4402 100644
--- a/extra/qt5-webengine/PKGBUILD
+++ b/extra/qt5-webengine/PKGBUILD
@@ -1,3 +1,4 @@
+# disable ICU in webengine (why?)
eval "$(
declare -f build | \
sed '
@@ -5,6 +6,16 @@ eval "$(
'
)"
+# let's not use too much memory, gcc tmpfiles can in this
+# case also be put on a real /tmp (instead of tmpfs) to reduce
+# preasure on the RAM
+eval "$(
+ declare -f build | \
+ sed '
+ /qmake/ a find . -name Makefile -exec sed -i 's@-pipe@@g' {} \;
+ '
+)"
+
# see https://src.fedoraproject.org/cgit/rpms/chromium.git/tree/chromium-66.0.3359.170-gcc8-alignof.patch
source+=('qtwebengine-everywhere-src-5.11.0-chromium-64bit-alignment.patch')
sha256sums+=('f1d810bf237ea3ce85803eb4665273b2d2bfa8a2a19521d5fa05568cec5d8cba')