From 2261021be1b7ecc0c0fbd4a62250e2dfe5b81eb5 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 31 May 2011 14:24:21 -0400 Subject: [PATCH] undo CL 4515163 / 42c3cfa4d64f MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/pkg/runtime/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.0