diff --git a/Makefile.blocksds b/Makefile.blocksds index 83a6022..99d48b0 100644 --- a/Makefile.blocksds +++ b/Makefile.blocksds @@ -92,16 +92,16 @@ WARNFLAGS := -Wall -Wno-address-of-packed-member INCLUDEFLAGS := $(foreach path,$(INCLUDEDIRS),-I$(path)) \ $(foreach path,$(LIBDIRS),-I$(path)/include) -ASFLAGS += -x assembler-with-cpp $(DEFINES) $(ARCH) \ +ASFLAGS += -g -x assembler-with-cpp $(DEFINES) $(ARCH) \ -mthumb -mthumb-interwork $(INCLUDEFLAGS) \ -ffunction-sections -fdata-sections -CFLAGS += -std=gnu11 $(WARNFLAGS) $(DEFINES) $(ARCH) \ +CFLAGS += -g -std=gnu11 $(WARNFLAGS) $(DEFINES) $(ARCH) \ -mthumb -mthumb-interwork $(INCLUDEFLAGS) -O2 \ -ffunction-sections -fdata-sections \ -fomit-frame-pointer -CXXFLAGS += -std=gnu++14 $(WARNFLAGS) $(DEFINES) $(ARCH) \ +CXXFLAGS += -g -std=gnu++14 $(WARNFLAGS) $(DEFINES) $(ARCH) \ -mthumb -mthumb-interwork $(INCLUDEFLAGS) -O2 \ -ffunction-sections -fdata-sections \ -fno-exceptions -fno-rtti \