1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/arm7_common: fix compilation with 12.2.0

This fixes:

    Assembler messages:
    Fatal error: unknown option `-ggdb'
This commit is contained in:
Marian Buschsieweke 2022-09-23 18:39:28 +02:00
parent 1ce7537d9e
commit e7c030cc86
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -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