Commit 982e6c44 authored by Russ Cox's avatar Russ Cox

build: set $PATH during make.bash

Should fix build breakage.

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/5656050
parent 7b848c69
...@@ -62,7 +62,7 @@ export GOROOT="$(cd .. && pwd)" ...@@ -62,7 +62,7 @@ export GOROOT="$(cd .. && pwd)"
GOROOT_FINAL="${GOROOT_FINAL:-$GOROOT}" GOROOT_FINAL="${GOROOT_FINAL:-$GOROOT}"
DEFGOROOT='-DGOROOT_FINAL="'"$GOROOT_FINAL"'"' DEFGOROOT='-DGOROOT_FINAL="'"$GOROOT_FINAL"'"'
gcc -O2 -Wall -Werror -ggdb -o cmd/dist/dist -Icmd/dist "$DEFGOROOT" cmd/dist/*.c gcc -O2 -Wall -Werror -ggdb -o cmd/dist/dist -Icmd/dist "$DEFGOROOT" cmd/dist/*.c
eval $(./cmd/dist/dist env) eval $(./cmd/dist/dist env -p)
echo echo
if [ "$1" = "--dist-tool" ]; then if [ "$1" = "--dist-tool" ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment