Fixes #572.
Fixes #570.
R=r
CC=golang-dev
https://golang.org/cl/194134
$ cd $GOROOT/src
$ hg pull
$ hg update release
-$ make all
+$ ./all.bash
</pre>
<h2>Community resources</h2>
esac
# Allow overrides
-GC=${_GC:-$GC}
-GL=${GL:-$LD}
-GC="$GC -I _test"
-GL="$GL -L _test"
+GC="$GOBIN/${_GC:-$GC} -I _test"
+GL="$GOBIN/${GL:-$LD} -L _test"
+CC="$GOBIN/$CC"
+LD="$GOBIN/$LD"
export GC GL O AS CC LD
gofiles=""
"$GOBIN"/gomake testpackage-clean
"$GOBIN"/gomake testpackage "GOTESTFILES=$gofiles"
if $havex; then
- "$GOBIN"/$GC -o $xofile $xgofiles
+ $GC -o $xofile $xgofiles
fi
# They all compile; now generate the code to call them.
echo '}'
}>_testmain.go
-"$GOBIN"/$GC _testmain.go
-"$GOBIN"/$GL _testmain.$O
+$GC _testmain.go
+$GL _testmain.$O
$E ./$O.out "$@"