Skip to content

Commit

Permalink
Merge pull request #18638 from maribu/cpu/arm7_common
Browse files Browse the repository at this point in the history
cpu/arm7_common: fix compilation with 12.2.0
  • Loading branch information
maribu authored Sep 24, 2022
2 parents d6a9e5b + e7c030c commit d75722b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/arm7_common/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d75722b

Please sign in to comment.