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 | b4f3533c92dc59f22bbddbc5b73a1575ce6f7f8b (patch) | |
| tree | cc69d632eaae7b8aff08e47c22257ee453b53568 /src/run.bash | |
| parent | ab08eac5b78c05672a1bcdc5012f9f9384f86fba (diff) | |
| download | go-b4f3533c92dc59f22bbddbc5b73a1575ce6f7f8b.tar.xz | |
cmd/ld: replace -hostobj with -linkmode
Still disabled. Need to fix TLS.
R=golang-dev, minux.ma, bradfitz
CC=golang-dev
https://golang.org/cl/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 6c96d5ddd2..538d4f6fe0 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 $? |
