From 965ffc3e28f49491f3cf7fc52b9d0df132af7adc Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Tue, 2 Aug 2016 10:14:26 -0500 Subject: [PATCH] Add CC_SYMBOLS to assembler invocation --- tools/export/gcc_arm_common.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/export/gcc_arm_common.tmpl b/tools/export/gcc_arm_common.tmpl index 446c856af8..461e6bef6f 100644 --- a/tools/export/gcc_arm_common.tmpl +++ b/tools/export/gcc_arm_common.tmpl @@ -89,13 +89,13 @@ all: $(PROJECT).bin $(PROJECT).hex size .asm.o: +@$(call MAKEDIR,$(dir $@)) - $(CC) $(CPU) -c $(ASM_FLAGS) $(INCLUDE_PATHS) -o $@ $< + $(CC) $(CPU) -c $(ASM_FLAGS) $(CC_SYMBOLS) $(INCLUDE_PATHS) -o $@ $< .s.o: +@$(call MAKEDIR,$(dir $@)) - $(CC) $(CPU) -c $(ASM_FLAGS) $(INCLUDE_PATHS) -o $@ $< + $(CC) $(CPU) -c $(ASM_FLAGS) $(CC_SYMBOLS) $(INCLUDE_PATHS) -o $@ $< .S.o: +@$(call MAKEDIR,$(dir $@)) - $(CC) $(CPU) -c $(ASM_FLAGS) $(INCLUDE_PATHS) -o $@ $< + $(CC) $(CPU) -c $(ASM_FLAGS) $(CC_SYMBOLS) $(INCLUDE_PATHS) -o $@ $< .c.o: +@$(call MAKEDIR,$(dir $@))