aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2015-01-07 13:23:45 -0800
committerIan Lance Taylor <iant@golang.org>2015-01-07 22:49:59 +0000
commitb2aab72d9a7d3e82904be25c86ff24dc09847fc8 (patch)
tree89712b9fd857e15b5ac78f0af8283c14874c5195 /src/run.bash
parentf7e43f14d324815b0884ed1dfee5d655f273e91e (diff)
downloadgo-b2aab72d9a7d3e82904be25c86ff24dc09847fc8.tar.gz
go-b2aab72d9a7d3e82904be25c86ff24dc09847fc8.zip
cmd/cgo: remove obsolete -cdefs flag
Now that there's no 6c compiler anymore, there's no need for cgo to generate C headers that are compatible with it. Fixes #9528 Change-Id: I43f53869719eb9a6065f1b39f66f060e604cbee0 Reviewed-on: https://go-review.googlesource.com/2482 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/run.bash b/src/run.bash
index 6eafc5f0c4..bb1424c504 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -181,17 +181,6 @@ linux-linux-amd64-1 | freebsd-freebsd-amd64-1 | darwin-darwin-amd64-1)
fi
esac
-# This tests cgo -cdefs. That mode is not supported,
-# so it's okay if it doesn't work on some systems.
-# In particular, it works badly with clang on OS X.
-# It doesn't work at all now that we disallow C code
-# outside runtime. Once runtime has no C code it won't
-# even be necessary.
-# [ "$CGO_ENABLED" != 1 ] || [ "$GOOS" == darwin ] ||
-# (xcd ../misc/cgo/testcdefs
-# ./test.bash || exit 1
-# ) || exit $?
-
[ "$CGO_ENABLED" != 1 ] || [ "$GOOS" == darwin ] ||
(xcd ../misc/cgo/testgodefs
./test.bash || exit 1