From e379c0f734082550661ca0fe49e08fec067b19a3 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Tue, 21 May 2019 14:26:14 +0200 Subject: [PATCH] COMPILE_DEBUG should not disable optimizations If you additionally want to disable optimizations, define this IGNORE_SPEED macro. --- makefile_include.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/makefile_include.mk b/makefile_include.mk index aad3896..cae5ac7 100644 --- a/makefile_include.mk +++ b/makefile_include.mk @@ -71,7 +71,7 @@ endif ifdef COMPILE_DEBUG #debug CFLAGS += -g3 -else +endif ifdef COMPILE_SIZE #for size @@ -87,7 +87,6 @@ CFLAGS += -fomit-frame-pointer endif endif # COMPILE_SIZE -endif # COMPILE_DEBUG ifneq ($(findstring clang,$(CC)),) CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header