diff --git a/ports/unix/Makefile b/ports/unix/Makefile index 60e37ade0a..f829838ab3 100644 --- a/ports/unix/Makefile +++ b/ports/unix/Makefile @@ -44,7 +44,7 @@ CFLAGS += $(INC) $(CWARN) -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) -I$(VARIANT_DI # Debugging/Optimization ifdef DEBUG -COPT ?= -O0 +COPT ?= -Og else COPT ?= -Os COPT += -DNDEBUG