aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-06-27 19:20:05 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-06-27 19:20:05 +0300
commitb715a9b2eb323733dea81ef6f46cb2cfd4159c01 (patch)
tree8b22ee6fc5747ad7fbcb7af391f27b44aa4c3029 /scripts
parent67443867c2743eda27be650b58f5021004789a45 (diff)
downloadqbt-b715a9b2eb323733dea81ef6f46cb2cfd4159c01.tar.gz
qbt-b715a9b2eb323733dea81ef6f46cb2cfd4159c01.zip
modify lto settings to silence warnings
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makefile b/scripts/makefile
index b416c35..7424204 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