summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-06-17 07:30:21 +0200
committerErich Eckner <git@eckner.net>2022-09-30 08:43:49 +0200
commit358bf15a5825712d7fe2ff35d17886751136789a (patch)
tree031732e5e601d56d5c11e642c0eb06a426e8ac9a
parentfc384370c862fa4f616b6fa84e0e93f43d2c6e04 (diff)
downloaddevtools-v20220621.tar.xz
disabled LTO completely on i486v20220621
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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