commit | 09e18d113b3c3dae896ac1a8ad1e0087adbb153b | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Tue Sep 21 11:44:26 2021 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Sep 21 14:31:10 2021 -0700 |
tree | 66b099a6ebc2076ef353afa90d9703824d023812 | |
parent | 97cfb54c3ff15b9691fd1c12a29de56966bf8e0d [diff] |
runtime: set runtime.GOROOT value at build time In Go 1.17 the gc toolchain changed to set runtime.GOROOT in cmd/link (previously it was runtime/internal/sys.GOROOT). Do the same in libgo. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/351313 gotools/: * Makefile.am (check-runtime): Add goroot.go to --extrafiles. * Makefile.in: Regenerate.