From 235c850e285c26456fcd3e8e2472bd82869d67c5 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 27 Mar 2022 08:44:36 +0200 Subject: core/python: no LTO on i486 --- core/python/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'core') diff --git a/core/python/PKGBUILD b/core/python/PKGBUILD index 1880d300..d95714be 100644 --- a/core/python/PKGBUILD +++ b/core/python/PKGBUILD @@ -51,3 +51,13 @@ eval "$( /-uall/ s/;\?$/ -x test_posix -x test_gdb -x test_socket -x test_cmath -x test_math -x test_turtle \\|\\| true/g " )" + +# no LTO on 486 +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/--with-lto/--without-lto/ + ' + )" +fi -- cgit v1.2.3-54-g00ecf