From: Russ Cox Date: Tue, 31 May 2011 18:24:21 +0000 (-0400) Subject: undo CL 4515163 / 42c3cfa4d64f X-Git-Tag: weekly.2011-06-02~49 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2261021be1b7ecc0c0fbd4a62250e2dfe5b81eb5;p=gostls13.git undo CL 4515163 / 42c3cfa4d64f breaks Mac build ««« original CL description runtime: use HOST_CC to compile mkversion HOST_CC is set in Make.inc, so use that rather than hardcoding quietgcc R=golang-dev, iant CC=golang-dev https://golang.org/cl/4515163 »»» R=iant CC=golang-dev https://golang.org/cl/4515168 --- diff --git a/src/pkg/runtime/Makefile b/src/pkg/runtime/Makefile index fa9fa91734..b122e05999 100644 --- a/src/pkg/runtime/Makefile +++ b/src/pkg/runtime/Makefile @@ -122,10 +122,10 @@ $(GOARCH)/asm.h: mkasmh.sh runtime.acid.$(GOARCH) mv -f $@.x $@ goc2c: goc2c.c - $(HOST_CC) -o $@ $< + quietgcc -o $@ $< mkversion: mkversion.c - $(HOST_CC) -o $@ -I "$(GOROOT)/include" $< "$(GOROOT)/lib/lib9.a" + quietgcc -o $@ -I "$(GOROOT)/include" $< "$(GOROOT)/lib/lib9.a" version.go: mkversion GOROOT="$(GOROOT_FINAL)" ./mkversion >version.go