From e7c030cc864d121169d18eaa679440f41faa6c5a Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 23 Sep 2022 18:39:28 +0200 Subject: [PATCH] cpu/arm7_common: fix compilation with 12.2.0 This fixes: Assembler messages: Fatal error: unknown option `-ggdb' --- cpu/arm7_common/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/arm7_common/Makefile.include b/cpu/arm7_common/Makefile.include index f919daca7802..12394e6c62c4 100644 --- a/cpu/arm7_common/Makefile.include +++ b/cpu/arm7_common/Makefile.include @@ -14,7 +14,7 @@ CFLAGS_DBG ?= -ggdb -g3 CFLAGS_OPT ?= -Os CFLAGS += $(CFLAGS_CPU) $(CFLAGS_LINK) $(CFLAGS_DBG) $(CFLAGS_OPT) -ASFLAGS += $(CFLAGS_CPU) $(CFLAGS_DBG) +ASFLAGS += $(CFLAGS_CPU) LINKFLAGS += -T$(RIOTCPU)/$(CPU)/ldscripts/$(CPU).ld LINKFLAGS += $(CFLAGS_CPU) $(CFLAGS_DBG) $(CFLAGS_OPT) -static -lgcc -nostartfiles LINKFLAGS += -Wl,--gc-sections