From fcc0c002289175839265ac8dde2c35d8c56f6095 Mon Sep 17 00:00:00 2001 From: Eric Clark Date: Mon, 11 Oct 2010 22:39:37 -0400 Subject: [PATCH] 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 --- src/Make.cmd | 4 ++-- 1 file 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)