Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-06-17 07:30:21 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-06-17 07:30:21 +0200
commit3c7d0b27036ef60cf5ad22397f4823d45687637b (patch)
treedda29ea76e47cdc24fa61ac5c1c5ed69a590d3b8
parent9d260b6937ef23d104e4c32a80b340b5fae91603 (diff)
disabled LTO completely on i486
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aa22903..ae59c7e 100644
--- a/Makefile
+++ b/Makefile
@@ -138,6 +138,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