aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Clark <zerohp@gmail.com>2010-10-11 22:39:37 -0400
committerRuss Cox <rsc@golang.org>2010-10-11 22:39:37 -0400
commitfcc0c002289175839265ac8dde2c35d8c56f6095 (patch)
tree59891a08c37e383f615cc9701cb312566f45e880
parente6ecf9765ae8aca669f192aff9a112b6fa10dfcb (diff)
downloadgo-fcc0c002289175839265ac8dde2c35d8c56f6095.tar.gz
go-fcc0c002289175839265ac8dde2c35d8c56f6095.zip
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
-rw-r--r--src/Make.cmd4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Make.cmd b/src/Make.cmd
index 73622f5a56..34f5663bc8 100644
--- a/src/Make.cmd
+++ b/src/Make.cmd
@@ -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)