From 0de38d4e4cfaf0435a9e7e4b246a5375e2b0d031 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 7 May 2022 12:08:43 +0200 Subject: extra/clang: disabled lto for i486 --- extra/clang/PKGBUILD | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3-70-g09d2