From 357668300627f05c89bf3e12419f4c0f7828c1de Mon Sep 17 00:00:00 2001 From: Alex Bates Date: Fri, 23 Oct 2020 10:36:00 +0100 Subject: [PATCH] add NON_MATCHING --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index ef5ff1efa1..a311b90746 100644 --- a/Makefile +++ b/Makefile @@ -67,6 +67,10 @@ OLDASFLAGS = -EB -Iinclude -G 0 CFLAGS = -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32 -Wimplicit -Wuninitialized -Wshadow LDFLAGS = -T undefined_syms.txt -T undefined_funcs.txt -T $(LD_SCRIPT) -Map $(LD_MAP) --no-check-sections +ifeq ($(NON_MATCHING),1) +CPPFLAGS += -DNON_MATCHING +endif + ### Targets ###