diff options
author | Ian Lance Taylor <iant@golang.org> | 2009-11-01 16:13:37 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2009-11-01 16:13:37 -0800 |
commit | 5fead7ed732949530106145531f7f8e86901dfde (patch) | |
tree | 70dd25f58c2521a1a40358e14db834638aa46f67 /src/make.bash | |
parent | fc1c0efc90e68a609b13041077b17fb072c8255c (diff) | |
download | golang-5fead7ed732949530106145531f7f8e86901dfde.tar.gz |
Use the environment variable CC as the bootstrap compiler used
to build 6g, 6l, etc.
R=rsc
CC=go-dev
http://go/go-review/1018015
Diffstat (limited to 'src/make.bash')
-rwxr-xr-x | src/make.bash | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/make.bash b/src/make.bash index 60e3f62dc..b223d23b7 100755 --- a/src/make.bash +++ b/src/make.bash @@ -16,7 +16,8 @@ fi bash clean.bash rm -f $GOBIN/quietgcc -cp quietgcc.bash $GOBIN/quietgcc +CC=${CC:-gcc} +sed -e "s|@CC@|$CC|" < quietgcc.bash > $GOBIN/quietgcc chmod +x $GOBIN/quietgcc for i in lib9 libbio libmach cmd pkg libcgo cmd/cgo cmd/ebnflint cmd/godoc cmd/gofmt |