index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-03-26 10:56:30 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-03-26 10:56:30 +0100 |
commit | d565dba6363eb9dd30b20facec104fc304dd6805 (patch) | |
tree | b1e1607eb44a2c6ab00ecc357b0334df9b14d342 | |
parent | 9fbc33d66b2091b112e634730c43ca60ad4e9333 (diff) |
-rw-r--r-- | extra/meson/PKGBUILD | 13 |
diff --git a/extra/meson/PKGBUILD b/extra/meson/PKGBUILD index 0f009bb1..74cfa56b 100644 --- a/extra/meson/PKGBUILD +++ b/extra/meson/PKGBUILD @@ -16,3 +16,16 @@ checkdepends_pentium4=("${checkdepends_i686[@]}") # still far too many tests fail, ignoring for now unset check unset checkdepends + +# do not set b_lto to true in arch-meson wrapper on i486 +if [ "${CARCH}" = "i486" ]; then + eval "$( + { + declare -f package || \ + printf 'package() {\n}\n' + } \ + | sed ' + $i sed -i "s/b_lto=.*/b_lto=false/" "$pkgdir/usr/bin/arch-meson" + ' + )" +fi |