aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-06-27 18:04:48 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-06-27 18:05:01 +0300
commit62be6e808ac8ae7961d5e8cb5f1d5f51b5669441 (patch)
tree47d716f10c379b043ae88080b19e99cc98daccc6
parent2d318bc20334a2c4e2d3008ab25b4385a96da81e (diff)
downloadek-62be6e808ac8ae7961d5e8cb5f1d5f51b5669441.tar.gz
ek-62be6e808ac8ae7961d5e8cb5f1d5f51b5669441.zip
modify lto flags to silence warning
-rw-r--r--scripts/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makefile b/scripts/makefile
index d0c88aa..e247e7a 100644
--- a/scripts/makefile
+++ b/scripts/makefile
@@ -1,7 +1,7 @@
# this could be done better
RELEASE ?= 0
OPTFLAGS != [ "$(RELEASE)" != "0" ] \
- && echo "-O3 -flto" \
+ && echo "-O2 -flto=auto" \
|| echo "-O0"
DEBUG ?= 1