diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-05-07 12:08:43 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-05-07 12:08:43 +0200 |
commit | 0de38d4e4cfaf0435a9e7e4b246a5375e2b0d031 (patch) | |
tree | 107e7bcc2d0aa9767c8416a3cb14a57958eb7895 /extra/clang/PKGBUILD | |
parent | b6284894b870fac40aa488155adf4354bb9fe609 (diff) | |
download | packages-0de38d4e4cfaf0435a9e7e4b246a5375e2b0d031.tar.xz |
extra/clang: disabled lto for i486
Diffstat (limited to 'extra/clang/PKGBUILD')
-rw-r--r-- | extra/clang/PKGBUILD | 7 |
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 |