test: Make allocator test use the debug version of the library

This commit is contained in:
Antonio Niño Díaz 2022-10-28 01:13:01 +01:00
parent 63a74c71f2
commit 307d6f87e3

View File

@ -44,6 +44,10 @@ ARCH := -marm -mthumb-interwork -march=armv5te -mtune=arm946e-s
CFLAGS := -g -Wall -O3\
$(ARCH) $(INCLUDE) -DARM9
# Enable debug mode of Nitro Engine
CFLAGS += -DNE_DEBUG
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions
ASFLAGS := -g $(ARCH)
LDFLAGS = -specs=ds_arm9.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
@ -51,7 +55,7 @@ LDFLAGS = -specs=ds_arm9.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project (order is important)
#---------------------------------------------------------------------------------
LIBS := -lNE -lfat -lnds9
LIBS := -lNE_debug -lfat -lnds9
# automatigically add libraries for NitroFS
ifneq ($(strip $(NITRO)),)