mirror of
https://github.com/golang/go
synced 2024-11-12 09:20:22 -07:00
build: add make.bash --dist-tool
R=golang-dev, n13m3y3r CC=golang-dev https://golang.org/cl/5634048
This commit is contained in:
parent
ae7497bda6
commit
1c290fda50
@ -51,6 +51,11 @@ DEFGOROOT='-DDEFAULT_GOROOT="'"$(cd .. && pwd)"'"'
|
|||||||
gcc -O2 -Wall -Werror -o ../bin/tool/dist -Icmd/dist "$DEFGOROOT" cmd/dist/*.c
|
gcc -O2 -Wall -Werror -o ../bin/tool/dist -Icmd/dist "$DEFGOROOT" cmd/dist/*.c
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
if [ "$1" = "--dist-tool" ]; then
|
||||||
|
# Stop after building dist tool.
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
echo '# Building compilers and Go bootstrap tool.'
|
echo '# Building compilers and Go bootstrap tool.'
|
||||||
../bin/tool/dist bootstrap -v # builds go_bootstrap
|
../bin/tool/dist bootstrap -v # builds go_bootstrap
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user