diff options
-rwxr-xr-x | ports/stm32/mboot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/mboot/Makefile b/ports/stm32/mboot/Makefile index ad2fda3ee..0c9244259 100755 --- a/ports/stm32/mboot/Makefile +++ b/ports/stm32/mboot/Makefile @@ -92,7 +92,7 @@ LDFLAGS += --gc-sections # Debugging/Optimization ifeq ($(DEBUG), 1) CFLAGS += -g -DPENDSV_DEBUG -COPT = -O0 +COPT = -Og else COPT += -Os -DNDEBUG endif |