Set DEBUG CFLAG if set in make

This commit is contained in:
BennyE 2020-12-11 22:11:39 +01:00
parent 2de5eba6d1
commit 81c4871fdf
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ CFLAGS += -DSTACK_CANARY_VALUE=0xa5a5a5a5
#Debugging/Optimization
ifeq ($(DEBUG), 1)
CFLAGS += -ggdb
CFLAGS += -DDEBUG -ggdb
OPTIMIZATION_FLAGS ?= -Og
# You may want to enable these flags to make setting breakpoints easier.
# CFLAGS += -fno-inline -fno-ipa-sra