summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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