From 3810cbd852f301a511eb08e3d253b00dcd413295 Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Tue, 21 Mar 2023 11:55:51 +0100 Subject: [PATCH] Fix Makefile configuration - Removed DEBUG enabled by default - Removed optimization & debug levels and use ones from SDK - Disable PRINTF formatting warnings again (for the custom %.*H format) --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 025a00d..2ed9286 100644 --- a/Makefile +++ b/Makefile @@ -186,7 +186,6 @@ endif endif # Enabling debug PRINTF -DEBUG:=1 ifneq ($(DEBUG),0) DEFINES += HAVE_STACK_OVERFLOW_CHECK ifeq ($(TARGET_NAME),TARGET_NANOS) @@ -223,13 +222,11 @@ endif CC := $(CLANGPATH)clang -CFLAGS += -Og -g -# CFLAGS += -Oz -Wno-format-invalid-specifier -Wno-format-extra-args +CFLAGS += -Wno-format-invalid-specifier -Wno-format-extra-args AS := $(GCCPATH)arm-none-eabi-gcc LD := $(GCCPATH)arm-none-eabi-gcc -LDFLAGS += -O0 LDLIBS += -lm -lgcc -lc # import rules to compile glyphs(/pone)