diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-03-25 12:09:19 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-03-25 12:09:19 +0100 |
commit | 37887ecb5fe9bff1f20516f16f3bc16d47343816 (patch) | |
tree | 969e78e59225b48b35731b3a02b2a894acf00d98 /extra | |
parent | 6634a41f6750afa0aa6def2069f9d1f5af3e9d2b (diff) | |
download | packages-37887ecb5fe9bff1f20516f16f3bc16d47343816.tar.xz |
extra/mpd: disabled LTO on i486
Diffstat (limited to 'extra')
-rw-r--r-- | extra/mpd/PKGBUILD | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/mpd/PKGBUILD b/extra/mpd/PKGBUILD index f05a66ec..8b3eca20 100644 --- a/extra/mpd/PKGBUILD +++ b/extra/mpd/PKGBUILD @@ -7,3 +7,14 @@ if [ "$CARCH" = 'i486' ]; then ' )" fi + +# disabling LTO on i486 +if [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f build | \ + sed ' + /local _meson_options.*/ a \ + _meson_options+=(-Db_lto=false) + ' + )" +fi |