fix iar with make

This commit is contained in:
hathach
2023-06-24 21:17:40 +07:00
parent 38a582634e
commit 946d3fdd4f
4 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ ifneq ($(CFLAGS_SKIP),)
CFLAGS := $(filter-out $(CFLAGS_SKIP),$(CFLAGS))
endif
LDFLAGS += $(CFLAGS)
LDFLAGS += $(CFLAGS) $(LDFLAGS_GCC)
ifdef LD_FILE
LDFLAGS += -Wl,-T,$(TOP)/$(LD_FILE)

View File

@@ -8,4 +8,4 @@ SIZE = size
CFLAGS += -e --debug --silent
# silent mode
ASFLAGS += -S
ASFLAGS += -S $(addprefix -I,$(INC))