build: remove unnecessary g-dwarf4 flags

This commit is contained in:
Michael Scire committed 2022-02-14 14:58:52 -08:00
1 parent 96f95b9f95
commit 2fce50471b
6 files changed
+11 -12

No files matched your search

+2 -3
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 :=