summaryrefslogtreecommitdiff
path: root/doc/progs/run
diff options
context:
space:
mode:
Diffstat (limited to 'doc/progs/run')
-rwxr-xr-xdoc/progs/run3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/progs/run b/doc/progs/run
index 71759c565..6e680b83b 100755
--- a/doc/progs/run
+++ b/doc/progs/run
@@ -50,6 +50,9 @@ fi
if [ "$goos" == "openbsd" ]; then
c_go_cgo="cgo1 cgo2"
fi
+if [ "$CGO_ENABLED" != 1 ]; then
+ c_go_cgo=""
+fi
timeout="
timeout1