mirror of
https://github.com/golang/go
synced 2024-11-21 17:44:40 -07:00
Make.cmd: remove $(OFILES)
The linker doesn't support multiple object files (maybe it did in the past?) R=rsc CC=golang-dev https://golang.org/cl/2444041
This commit is contained in:
parent
e6ecf9765a
commit
fcc0c00228
@ -12,8 +12,8 @@ include $(QUOTED_GOROOT)/src/Make.common
|
|||||||
|
|
||||||
PREREQ+=$(patsubst %,%.make,$(DEPS))
|
PREREQ+=$(patsubst %,%.make,$(DEPS))
|
||||||
|
|
||||||
$(TARG): _go_.$O $(OFILES)
|
$(TARG): _go_.$O
|
||||||
$(LD) -o $@ _go_.$O $(OFILES)
|
$(LD) -o $@ _go_.$O
|
||||||
|
|
||||||
_go_.$O: $(GOFILES) $(PREREQ)
|
_go_.$O: $(GOFILES) $(PREREQ)
|
||||||
$(GC) -o $@ $(GOFILES)
|
$(GC) -o $@ $(GOFILES)
|
||||||
|
Loading…
Reference in New Issue
Block a user