summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/clang/PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/clang/PKGBUILD b/extra/clang/PKGBUILD
index e84b76eb..b68e60b3 100644
--- a/extra/clang/PKGBUILD
+++ b/extra/clang/PKGBUILD
@@ -14,3 +14,10 @@ eval "$(
if [ "$CARCH" = 'i486' ]; then
unset check
fi
+
+# LTO fails on i486
+if [ "$CARCH" = 'i486' ]; then
+ sed -i '
+ 1i options=(!lto)
+ ' PKGBUILD
+fi