From 62be6e808ac8ae7961d5e8cb5f1d5f51b5669441 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 27 Jun 2024 18:04:48 +0300 Subject: modify lto flags to silence warning --- scripts/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/makefile') 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 -- cgit v1.3