From 358bf15a5825712d7fe2ff35d17886751136789a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 17 Jun 2022 07:30:21 +0200 Subject: disabled LTO completely on i486 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 264a72f..8fa4d6d 100644 --- a/Makefile +++ b/Makefile @@ -150,6 +150,8 @@ makepkg-i486.conf: makepkg-x86_64.conf @sed " \ s,\(["'"'"=]\)x86[-_]64\([-"'"'" ]\),\1i486\2,g; \ s,-fcf-protection,,g; \ + s,LTOFLAGS=".*",LTOFLAGS=\"-fno-lto\",g; \ + /OPTIONS=/s/ lto/ !lto/; \ " "$<" > "$@" makepkg-i686.conf: makepkg-x86_64.conf -- cgit v1.2.3-70-g09d2