aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-05-06 19:59:29 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-05-06 19:59:29 +0300
commit463927ef61f9ad6268d6ea0e9209ee337fb1843f (patch)
tree69e90bf85bc6c37935a8e05a49c364e78b3e1211
parent05d4244f68e35c1bef6488292bf9730df3636fd9 (diff)
downloadkmi-463927ef61f9ad6268d6ea0e9209ee337fb1843f.tar.gz
kmi-463927ef61f9ad6268d6ea0e9209ee337fb1843f.zip
always use debug flag
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index dfc1c46..016ffc8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,10 @@ DO != echo -n > deps.mk
# this could be done better
DEBUGFLAGS != [ $(RELEASE) ] \
- && echo "-flto -O2 -g -DNDEBUG" \
- || echo "-O0 -g -DDEBUG"
+ && echo "-flto -O2 -DNDEBUG" \
+ || echo "-O0 -DDEBUG"
-CFLAGS = -ffreestanding -nostdlib -static -fno-pie -std=c17 -Wall -Wextra -Wvla -D$(ARCH)
+CFLAGS = -ffreestanding -nostdlib -static -fno-pie -std=c17 -Wall -Wextra -Wvla -D$(ARCH) -g
DEPFLAGS = -MT $@ -MMD -MP -MF $@.d
LINTFLAGS = -fsyntax-only
PREPROCESS = -E