]> Cypherpunks repositories - gostls13.git/commitdiff
Make.cmd: remove $(OFILES)
authorEric Clark <zerohp@gmail.com>
Tue, 12 Oct 2010 02:39:37 +0000 (22:39 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 12 Oct 2010 02:39:37 +0000 (22:39 -0400)
The linker doesn't support multiple object files (maybe it did in the past?)

R=rsc
CC=golang-dev
https://golang.org/cl/2444041

src/Make.cmd

index 73622f5a561bf41a9d3bba8942a4a8ade42abf5a..34f5663bc8cd1f16fab88949f0e3954e57209610 100644 (file)
@@ -12,8 +12,8 @@ include $(QUOTED_GOROOT)/src/Make.common
 
 PREREQ+=$(patsubst %,%.make,$(DEPS))
 
-$(TARG): _go_.$O $(OFILES)
-       $(LD) -o $@ _go_.$O $(OFILES)
+$(TARG): _go_.$O
+       $(LD) -o $@ _go_.$O
 
 _go_.$O: $(GOFILES) $(PREREQ)
        $(GC) -o $@ $(GOFILES)