index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-02-18 15:19:00 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-02-18 15:19:00 +0100 |
commit | f6ead586573aceee15e610bbf9969c09557fff0e (patch) | |
tree | 03b43f6796dd9d96c280f0d92c012f2b6e0116af /core/binutils | |
parent | c1769a7135ca12bcd5376951be3a012ed20e4d6a (diff) |
-rw-r--r-- | core/binutils/PKGBUILD | 12 |
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD index 2aab24cb..3c6de6b6 100644 --- a/core/binutils/PKGBUILD +++ b/core/binutils/PKGBUILD @@ -6,7 +6,7 @@ eval "$( ' )" -# enable BFD for x86_64 other we have problems with cross-compilation +# enable BFD for x86_64 otherwise we have problems with cross-compilation # or compiling things like grub eval "$( declare -f build | \ @@ -56,6 +56,16 @@ else )" fi +# i486-specific: disable PGO/LTO build, uses too much resources +if [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f build | \ + sed ' + s/--enable-pgo-build=.*/--disable-pgo-build/ + ' + )" +fi + # 2.38, FAIL: Build ifunc-1a with PIE -z ibtplt eval "$( declare -f check | \ |