From 463927ef61f9ad6268d6ea0e9209ee337fb1843f Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 6 May 2023 19:59:29 +0300 Subject: always use debug flag --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.3