summaryrefslogtreecommitdiff
path: root/misc/cgo/testso/test.bash
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/testso/test.bash')
-rwxr-xr-xmisc/cgo/testso/test.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cgo/testso/test.bash b/misc/cgo/testso/test.bash
index ecef873c8..5f113d216 100755
--- a/misc/cgo/testso/test.bash
+++ b/misc/cgo/testso/test.bash
@@ -4,7 +4,7 @@
# license that can be found in the LICENSE file.
set -e
-gcc $(go env GOGCCFLAGS) -shared -o libcgosotest.so cgoso_c.c
+$(go env CC) $(go env GOGCCFLAGS) -shared -o libcgosotest.so cgoso_c.c
go build main.go
LD_LIBRARY_PATH=. ./main
rm -f libcgosotest.so main