From d3ac545f80a17772baf0795733c78fac7f1d8b84 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 18 Feb 2011 11:35:43 -0500 Subject: [PATCH] runtime: record $GOROOT_FINAL for runtime.GOROOT Update #1527. R=adg, oerdnj CC=golang-dev https://golang.org/cl/4171060 --- src/pkg/runtime/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/Makefile b/src/pkg/runtime/Makefile index 521c095b995..38e1aa61e37 100644 --- a/src/pkg/runtime/Makefile +++ b/src/pkg/runtime/Makefile @@ -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)"') >$@