Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt5-base
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-06-16 17:38:16 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-06-16 17:38:16 +0200
commitb5b9166f128efd41064aed582718fb3fa60e91af (patch)
tree8fa15f80bf8a43de0e33bdb556ef74dcfee44120 /extra/qt5-base
parent5fd165213053cbb71927270a34b19403d4e390ce (diff)
extra/qt5-base: another brutal LTO disabler on i486
Diffstat (limited to 'extra/qt5-base')
-rw-r--r--extra/qt5-base/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/qt5-base/PKGBUILD b/extra/qt5-base/PKGBUILD
index 1a79f2de..7b301389 100644
--- a/extra/qt5-base/PKGBUILD
+++ b/extra/qt5-base/PKGBUILD
@@ -18,7 +18,12 @@ if [ "$CARCH" = 'i486' ]; then
)"
fi
-# no LTO on 486 slaves, they die with out-of-memory
+# no LTO on i486
+if [ "$CARCH" = 'i486' ]; then
+ sed -i '
+ 1i options=(!lto)
+ ' PKGBUILD
+fi
if [ "$CARCH" = 'i486' ]; then
eval "$(
declare -f build | \