summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-06-17 07:30:21 +0200
committerErich Eckner <git@eckner.net>2022-12-08 12:57:22 +0100
commit6ba268e81a73945a28fdf919cd74414838b4b233 (patch)
tree10615e11f1a3d3f7a3529f94d349c5d89343e457
parent058e2c7190eb9635faad21838e2a78f8f3b1cd0a (diff)
downloaddevtools-20221208.tar.xz
disabled LTO completely on i486v20221208
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1fade31..549c87e 100644
--- a/Makefile
+++ b/Makefile
@@ -120,6 +120,8 @@ $(BUILDDIR)/config/makepkg-i486.conf: config/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/; \
" "$<" > "$@"
$(BUILDDIR)/config/makepkg-i686.conf: config/makepkg/x86_64.conf