aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-04-20 11:15:16 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-04-20 11:15:16 +0300
commit7d9e25efd6a6bd95e503adbc3b4e66788ccdebd0 (patch)
tree3489e109e8a630dc639a1854330a693236910665 /scripts
parent8a98b46ef2b5673fcdf0a9a466857a5de044dfc5 (diff)
downloadposthaste-7d9e25efd6a6bd95e503adbc3b4e66788ccdebd0.tar.gz
posthaste-7d9e25efd6a6bd95e503adbc3b4e66788ccdebd0.zip
silence some warnings
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makefile4
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)