Commit d3ac545f authored by Russ Cox's avatar Russ Cox

runtime: record $GOROOT_FINAL for runtime.GOROOT

Update #1527.

R=adg, oerdnj
CC=golang-dev
https://golang.org/cl/4171060
parent afac1c26
......@@ -129,7 +129,7 @@ mkversion: mkversion.c
quietgcc -o $@ -I "$(GOROOT)/include" $< "$(GOROOT)/lib/lib9.a"
version.go: mkversion
./mkversion >version.go
GOROOT="$(GOROOT_FINAL)" ./mkversion >version.go
version_$(GOARCH).go:
(echo 'package runtime'; echo 'const theGoarch = "$(GOARCH)"') >$@
......
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