Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/gcc/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
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