diff options
Diffstat (limited to 'doc/progs/run')
-rwxr-xr-x | doc/progs/run | 3 |
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 |