diff --git a/Makefile b/Makefile index d95d1e6d..96dbc721 100644 --- a/Makefile +++ b/Makefile @@ -158,8 +158,6 @@ DEFINES += HAVE_BOLOS_APP_STACK_CANARY DEFINES += IO_SEPROXYHAL_BUFFER_SIZE_B=300 -# debugging helper functions and macros -CFLAGS += -include debug-helpers/debug.h # DEFINES += HAVE_PRINT_STACK_POINTER @@ -170,7 +168,8 @@ ifeq ($(DEBUG),10) endif ifeq ($(DEBUG),1) - CFLAGS += -g + # debugging helper functions and macros + CFLAGS += -include debug-helpers/debug.h -g endif # Needed to be able to include the definition of G_cx INCLUDES_PATH += $(BOLOS_SDK)/lib_cxng/src