From f6b0200be37495ff4d600437979ea8181367ac26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ni=C3=B1o=20D=C3=ADaz?= Date: Wed, 26 Mar 2025 18:06:36 +0000 Subject: [PATCH] build: Build library with debug symbols enabled They are excluded from the final binaries, so the only effect of this is to help with debugging by using a bit more of disk space. --- Makefile.blocksds | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 \