index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-06-16 16:30:58 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-06-16 16:30:58 +0200 |
commit | 23db8c4956e6e903970d23891b1c0d6d2995ebdd (patch) | |
tree | 10b673cd725a5b301fb312124cca2f16a2df44c1 /extra/boost/PKGBUILD | |
parent | 561d6372fdb19de1164d40463258650cba6a4593 (diff) |
-rw-r--r-- | extra/boost/PKGBUILD | 14 |
diff --git a/extra/boost/PKGBUILD b/extra/boost/PKGBUILD new file mode 100644 index 00000000..12fb68df --- /dev/null +++ b/extra/boost/PKGBUILD @@ -0,0 +1,14 @@ +# no LTO on i486 +if [ "$CARCH" = 'i486' ]; then + sed -i ' + 1i options=(!lto) + ' PKGBUILD +fi +if [ "$CARCH" == 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/-ffat-lto-objects//g + ' + )" +fi |