From a39d004584c0db4b3e777ca40554b721d7c180a1 Mon Sep 17 00:00:00 2001 From: MysterD Date: Thu, 14 Apr 2022 20:37:33 -0700 Subject: [PATCH] Restore debugging optimization level to -O0, add more warning ignores --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3ced5b63..8f0e0ce5 100644 --- a/Makefile +++ b/Makefile @@ -201,7 +201,7 @@ ifeq ($(DEBUG),0) OPT_FLAGS := -O2 endif else - OPT_FLAGS := -Og + OPT_FLAGS := -O0 endif # Set our level of debug symbol info, @@ -633,6 +633,7 @@ ifeq ($(WINDOWS_AUTO_BUILDER),1) else ifeq ($(COMPILER),gcc) CC := $(CROSS)gcc CXX := $(CROSS)g++ + EXTRA_CFLAGS += -Wno-unused-result -Wno-format-truncation else ifeq ($(COMPILER),clang) CC := clang CXX := clang++