Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt5-base/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-25 10:53:53 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-25 10:53:53 +0100
commit1aba00faee9771338a61e4572becce7333cd4581 (patch)
treef020ab49cd4e4393491cd44f527fdaa0d7d34543 /extra/qt5-base/PKGBUILD
parent1506b7c4219047031afd155ff18da833965e611b (diff)
extra/qt5-base: disabled all LTO stuff on i486
Diffstat (limited to 'extra/qt5-base/PKGBUILD')
-rw-r--r--extra/qt5-base/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/qt5-base/PKGBUILD b/extra/qt5-base/PKGBUILD
index 0f8c26cb..1a79f2de 100644
--- a/extra/qt5-base/PKGBUILD
+++ b/extra/qt5-base/PKGBUILD
@@ -28,3 +28,15 @@ if [ "$CARCH" = 'i486' ]; then
'
)"
fi
+# -no-ltcg is partially ignored, patching it directly in the mkspecs
+source+=('qtbase-no-ltcg-broken.patch')
+sha256sums+=('024549dbb8cc76921c16070b4cf1253e88fd33f78d6756e2ee398c405b8d1979')
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f prepare | \
+ sed '
+ $ i \
+ patch -p1 < ../qtbase-no-ltcg-broken.patch
+ '
+ )"
+fi