aboutsummaryrefslogtreecommitdiff
path: root/go/go_local
diff options
context:
space:
mode:
Diffstat (limited to 'go/go_local')
-rwxr-xr-xgo/go_local8
1 files changed, 8 insertions, 0 deletions
diff --git a/go/go_local b/go/go_local
new file mode 100755
index 00000000..92954ef8
--- /dev/null
+++ b/go/go_local
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# Invoke the Go compiler for localhost.
+
+GOOS="linux" GOARCH="amd64" CGO_ENABLED="1" \
+ CC="gcc" \
+ CXX="g++" \
+ exec go "$@"