mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
mkrules.mk: Pass $(COPT) to link stage.
In generalize case, optimization options should be passed to all stages of the build process.
This commit is contained in:
@@ -73,7 +73,7 @@ all: $(PROG)
|
||||
|
||||
$(PROG): $(OBJ)
|
||||
$(ECHO) "LINK $@"
|
||||
$(Q)$(CC) -o $@ $(OBJ) $(LIB) $(LDFLAGS)
|
||||
$(Q)$(CC) $(COPT) -o $@ $(OBJ) $(LIB) $(LDFLAGS)
|
||||
ifndef DEBUG
|
||||
$(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $(PROG)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user