Skip to content
Snippets Groups Projects
Commit 4c4b9d15 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

mkrules.mk: Pass $(COPT) to link stage.

In generalize case, optimization options should be passed to all stages of
the build process.
parent 0fc7efb6
Branches
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ all: $(PROG) ...@@ -73,7 +73,7 @@ all: $(PROG)
$(PROG): $(OBJ) $(PROG): $(OBJ)
$(ECHO) "LINK $@" $(ECHO) "LINK $@"
$(Q)$(CC) -o $@ $(OBJ) $(LIB) $(LDFLAGS) $(Q)$(CC) $(COPT) -o $@ $(OBJ) $(LIB) $(LDFLAGS)
ifndef DEBUG ifndef DEBUG
$(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $(PROG) $(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $(PROG)
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment