From b715a9b2eb323733dea81ef6f46cb2cfd4159c01 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 27 Jun 2024 19:20:05 +0300 Subject: modify lto settings to silence warnings --- scripts/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3