summaryrefslogtreecommitdiff
path: root/src/env.bash
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.bash')
-rw-r--r--src/env.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.bash b/src/env.bash
index 2518c4233..4fc762821 100644
--- a/src/env.bash
+++ b/src/env.bash
@@ -38,7 +38,7 @@ fi
# Tried to use . <($MAKE ...) here, but it cannot set environment
# variables in the version of bash that ships with OS X. Amazing.
-eval $($MAKE --no-print-directory -f Make.inc go-env | egrep 'GOARCH|GOOS|GO_ENV')
+eval $($MAKE --no-print-directory -f Make.inc go-env | egrep 'GOARCH|GOOS|GOHOSTARCH|GOHOSTOS|GO_ENV')
# Shell doesn't tell us whether make succeeded,
# so Make.inc generates a fake variable name.