Skip to content

Commit

Permalink
py/mkrules.mk: Allow $(AFLAGS) to set flags to $(AS).
Browse files Browse the repository at this point in the history
Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Jun 15, 2023
1 parent 33b403d commit bf9ca0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/mkrules.mk
Expand Up @@ -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 $<"
Expand Down

0 comments on commit bf9ca0b

Please sign in to comment.