build: remove unnecessary g-dwarf4 flags

This commit is contained in:
Michael Scire
2022-02-14 14:58:43 -08:00
parent 96f95b9f95
commit 2fce50471b
6 changed files with 11 additions and 12 deletions

View File

@@ -37,7 +37,6 @@ DEFINES := -DATMOSPHERE_GIT_BRANCH=\"$(AMSBRANCH)\" -DATMOSPHERE_GIT_REV=\"$(AM
CFLAGS := \
-g \
-gdwarf-4 \
-O2 \
-ffunction-sections \
-fdata-sections \
@@ -53,8 +52,8 @@ CFLAGS += $(INCLUDE) -D__CCPLEX__
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
ASFLAGS := -g -gdwarf-4 $(ARCH)
LDFLAGS = -specs=$(TOPDIR)/linker.specs -g -gdwarf-4 $(ARCH) -Wl,-Map,$(notdir $*.map)
ASFLAGS := -g $(ARCH)
LDFLAGS = -specs=$(TOPDIR)/linker.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
LIBS :=