commit | 3b85b724c5df8ee4ea9d6720250249de455baff5 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Mon Mar 11 00:51:42 2013 -0400 |
committer | Russ Cox <rsc@golang.org> | Mon Mar 11 00:51:42 2013 -0400 |
tree | 9c98f30d3aaa3b2c542728e8ff8a5519793cb7af | |
parent | 9e13803ae1a66afdb03c7f584f70c07c8b4517a9 [diff] [blame] |
cmd/ld: darwin support for host linking R=ken2 CC=golang-dev https://golang.org/cl/7626045
diff --git a/src/run.bash b/src/run.bash index a026b45..cabe745 100755 --- a/src/run.bash +++ b/src/run.bash
@@ -77,6 +77,10 @@ [ "$GOHOSTOS" == openbsd ] || # issue 4878 (xcd ../misc/cgo/test go test +case "$GOHOSTOS-$GOARCH" in +darwin-386 | darwin-amd64 | linux-386 | linux-amd64) + go test -ldflags '-w -hostobj' +esac ) || exit $? [ "$CGO_ENABLED" != 1 ] ||