py/mkrules.mk: Allow $(AFLAGS) to set flags to $(AS).

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2023-03-02 00:14:43 +11:00
parent 33b403dfb4
commit bf9ca0bb33
1 changed files with 1 additions and 1 deletions

View File

@ -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 $<"