mirror of
https://github.com/golang/go
synced 2024-11-20 08:04:42 -07:00
runtime: record $GOROOT_FINAL for runtime.GOROOT
Update #1527. R=adg, oerdnj CC=golang-dev https://golang.org/cl/4171060
This commit is contained in:
parent
afac1c2654
commit
d3ac545f80
@ -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)"') >$@
|
||||
|
Loading…
Reference in New Issue
Block a user