index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | core/gcc/PKGBUILD | 12 |
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD index ed5410b9..b27a142c 100644 --- a/core/gcc/PKGBUILD +++ b/core/gcc/PKGBUILD @@ -114,5 +114,17 @@ source[1]='isl-0.24.tar.xz::https://downloads.sourceforge.net/project/libisl/isl makedepends=(${makedepends[@]//lib32-glibc/}) makedepends=(${makedepends[@]//lib32-gcc-libs/}) +# i486-specific: disable PGO/LTO build, uses too much resources, +# also disabling LTO for now +if [ "${CARCH}" = "i486" ]; then + eval "$( + declare -f build | \ + sed ' + s/--enable-pgo-build=.*/--disable-pgo-build/ + s/--enable-lto/--disable-lto/ + ' + )" +fi + # no testing for now unset check |