Commit 4c4b9d15 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files Pass $(COPT) to link stage.

In generalize case, optimization options should be passed to all stages of
the build process.
parent 0fc7efb6
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment