index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-03-25 10:14:13 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-03-25 10:14:13 +0100 |
commit | d58c7f7aad53d82409c53cec4c3dd3b27ae925d9 (patch) | |
tree | 78e6b9a523e878ab9966dda6698ec75a139e96a4 /extra/xorg-server/PKGBUILD | |
parent | 5dedafd234f586b64b31135cb62db5d4ae16e6b2 (diff) |
-rw-r--r-- | extra/xorg-server/PKGBUILD | 10 |
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 |