diff options
| author | BennyE <bennye_hh@posteo.net> | 2020-12-11 22:11:39 +0100 |
|---|---|---|
| committer | BennyE <bennye_hh@posteo.net> | 2020-12-11 22:11:39 +0100 |
| commit | 81c4871fdf457658e30fd0064fdd6250eb9f89e9 (patch) | |
| tree | 6eacecf42f891ef1c5f0609e85666fbaecb894c1 | |
| parent | 2de5eba6d11c5c0cab61cf20ee21b50016a5cf25 (diff) | |
Set DEBUG CFLAG if set in make
| -rw-r--r-- | ports/esp32s2/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32s2/Makefile b/ports/esp32s2/Makefile index 4486cb598..01f8f48a7 100644 --- a/ports/esp32s2/Makefile +++ b/ports/esp32s2/Makefile @@ -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 |
