1
0
mirror of https://github.com/golang/go synced 2024-11-24 18:10:02 -07:00

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
This commit is contained in:
Russ Cox 2011-05-31 14:24:21 -04:00 committed by Ian Lance Taylor
parent fd0cf08748
commit 2261021be1

View 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