diff options
Diffstat (limited to 'scripts/makefile')
-rw-r--r-- | scripts/makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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) |