diff options
author | Russ Cox <rsc@golang.org> | 2013-03-19 15:45:42 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2013-03-19 15:45:42 -0400 |
commit | 5bc8ea353b0aac6b037d12ff287df1edc52688c4 (patch) | |
tree | 4de397e4785131218ee71e1a5b89c790138c4c5e /src/run.bash | |
parent | 7e2190920188f252e3c4f5eb96636efa62c33d74 (diff) | |
download | go-5bc8ea353b0aac6b037d12ff287df1edc52688c4.tar.gz |
cmd/ld: replace -hostobj with -linkmode
Still disabled. Need to fix TLS.
R=golang-dev, minux.ma, bradfitz
CC=golang-dev
https://codereview.appspot.com/7783044
Diffstat (limited to 'src/run.bash')
-rwxr-xr-x | src/run.bash | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/run.bash b/src/run.bash index 6c96d5ddd..538d4f6fe 100755 --- a/src/run.bash +++ b/src/run.bash @@ -75,10 +75,11 @@ go run $GOROOT/test/run.go - . [ "$CGO_ENABLED" != 1 ] || (xcd ../misc/cgo/test -go test +go test -ldflags '-linkmode=auto' +go test -ldflags '-linkmode=internal' case "$GOHOSTOS-$GOARCH" in darwin-386 | darwin-amd64 | freebsd-386 | freebsd-amd64 | linux-386 | linux-amd64 | netbsd-386 | netbsd-amd64 | openbsd-386 | openbsd-amd64) - go test -ldflags '-w -hostobj' + go test -ldflags '-linkmode=external' esac ) || exit $? |