From 7d9e25efd6a6bd95e503adbc3b4e66788ccdebd0 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 20 Apr 2024 11:15:16 +0300 Subject: silence some warnings --- scripts/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/makefile b/scripts/makefile index 2f2d8d9..9d79525 100644 --- a/scripts/makefile +++ b/scripts/makefile @@ -1,7 +1,7 @@ # this could be done better RELEASE ?= 0 OPTFLAGS != [ "$(RELEASE)" != "0" ] \ - && echo "-O2 -flto" \ + && echo "-O2 -flto=auto" \ || echo "-O0" DEBUG ?= 1 @@ -29,7 +29,7 @@ all: posthaste OBFLAGS = -g -WARNFLAGS = -Wall -Wextra -Wvla +WARNFLAGS = -Wall COMPILE_FLAGS = $(CFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(OBFLAGS) $(ASSERTFLAGS) \ $(DEBUGFLAGS) $(JITFLAGS) -- cgit v1.2.3