fix iar with make
This commit is contained in:
parent
38a582634e
commit
946d3fdd4f
|
@ -43,6 +43,6 @@ CFLAGS_GCC += -Wno-error=redundant-decls
|
|||
CFLAGS_GCC += -Wno-error=cast-qual
|
||||
|
||||
# FreeRTOS (lto + Os) linker issue
|
||||
LDFLAGS += -Wl,--undefined=vTaskSwitchContext
|
||||
LDFLAGS_GCC += -Wl,--undefined=vTaskSwitchContext
|
||||
|
||||
include ../../rules.mk
|
||||
|
|
|
@ -42,6 +42,6 @@ CFLAGS_GCC += -Wno-error=redundant-decls
|
|||
CFLAGS_GCC += -Wno-error=cast-qual
|
||||
|
||||
# FreeRTOS (lto + Os) linker issue
|
||||
LDFLAGS += -Wl,--undefined=vTaskSwitchContext
|
||||
LDFLAGS_GCC += -Wl,--undefined=vTaskSwitchContext
|
||||
|
||||
include ../../rules.mk
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -8,4 +8,4 @@ SIZE = size
|
|||
CFLAGS += -e --debug --silent
|
||||
|
||||
# silent mode
|
||||
ASFLAGS += -S
|
||||
ASFLAGS += -S $(addprefix -I,$(INC))
|
||||
|
|
Loading…
Reference in New Issue