Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/xorg-server
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-03-25 10:14:13 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-03-25 10:14:13 +0100
commitd58c7f7aad53d82409c53cec4c3dd3b27ae925d9 (patch)
tree78e6b9a523e878ab9966dda6698ec75a139e96a4 /extra/xorg-server
parent5dedafd234f586b64b31135cb62db5d4ae16e6b2 (diff)
extra/xorg-server: disabled LTO on i486
Diffstat (limited to 'extra/xorg-server')
-rw-r--r--extra/xorg-server/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/xorg-server/PKGBUILD b/extra/xorg-server/PKGBUILD
index 1729fb17..f30c30dd 100644
--- a/extra/xorg-server/PKGBUILD
+++ b/extra/xorg-server/PKGBUILD
@@ -12,3 +12,13 @@ eval "$(
patch -Np1 -i "$srcdir/xorg-server-21.1.3-probed-mode-name-not-null.patch"
'
)"
+
+# disabling LTO on i486 as enabling it leads to all kind of link errors
+if [ "${CARCH}" = "i486" ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/arch-meson /arch-meson -Db_lto=false /
+ '
+ )"
+fi