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