Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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