From 37887ecb5fe9bff1f20516f16f3bc16d47343816 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 25 Mar 2022 12:09:19 +0100 Subject: extra/mpd: disabled LTO on i486 --- extra/mpd/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'extra') 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 -- cgit v1.2.3-70-g09d2