diff options
author | Russ Cox <rsc@golang.org> | 2012-02-04 01:23:54 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-02-04 01:23:54 -0500 |
commit | 139eed3c80d873e39be0ab03a648e71b79edc8ec (patch) | |
tree | 3f70071fbae8698e51c619c152fea036643dc438 /src/make.bash | |
parent | e3b67b811bb60245e9e5c349797d9ded438cbdac (diff) | |
download | go-139eed3c80d873e39be0ab03a648e71b79edc8ec.tar.gz |
cmd/dist: fix build
TBR=golang-dev
CC=golang-dev
http://codereview.appspot.com/5630049
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 1c29568fd..fcc320e57 100755 --- a/src/make.bash +++ b/src/make.bash @@ -47,7 +47,8 @@ done echo '# Building C bootstrap tool.' mkdir -p ../bin/tool -gcc -O2 -Wall -Werror -o ../bin/tool/dist -Icmd/dist cmd/dist/*.c +DEFGOROOT='-DDEFAULT_GOROOT="'"$(cd .. && pwd)"'"' +gcc -O2 -Wall -Werror -o ../bin/tool/dist -Icmd/dist "$DEFGOROOT" cmd/dist/*.c echo echo '# Building compilers and Go bootstrap tool.' |