]> Cypherpunks repositories - gostls13.git/commitdiff
undo CL 4515163 / 42c3cfa4d64f
authorRuss Cox <rsc@golang.org>
Tue, 31 May 2011 18:24:21 +0000 (14:24 -0400)
committerIan Lance Taylor <iant@golang.org>
Tue, 31 May 2011 18:24:21 +0000 (14:24 -0400)
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

index fa9fa91734b4ad63aa4e0b59b1c0913388997a50..b122e05999d1dec527e8575b8394fe0e520a46ca 100644 (file)
@@ -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