py/mkrules.mk: Allow $(AFLAGS) to set flags to $(AS).
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
33b403dfb4
commit
bf9ca0bb33
|
@ -52,7 +52,7 @@ $(BUILD)/%.o: %.S
|
|||
vpath %.s . $(TOP) $(USER_C_MODULES)
|
||||
$(BUILD)/%.o: %.s
|
||||
$(ECHO) "AS $<"
|
||||
$(Q)$(AS) -o $@ $<
|
||||
$(Q)$(AS) $(AFLAGS) -o $@ $<
|
||||
|
||||
define compile_c
|
||||
$(ECHO) "CC $<"
|
||||
|
|
Loading…
Reference in New Issue