Commit 2261021b authored by Russ Cox's avatar Russ Cox Committed by Ian Lance Taylor

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
parent fd0cf087
...@@ -122,10 +122,10 @@ $(GOARCH)/asm.h: mkasmh.sh runtime.acid.$(GOARCH) ...@@ -122,10 +122,10 @@ $(GOARCH)/asm.h: mkasmh.sh runtime.acid.$(GOARCH)
mv -f $@.x $@ mv -f $@.x $@
goc2c: goc2c.c goc2c: goc2c.c
$(HOST_CC) -o $@ $< quietgcc -o $@ $<
mkversion: mkversion.c 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 version.go: mkversion
GOROOT="$(GOROOT_FINAL)" ./mkversion >version.go GOROOT="$(GOROOT_FINAL)" ./mkversion >version.go
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment