android13/external/toolchain-utils/go/go_local

9 lines
145 B
Bash
Executable File

#!/bin/bash
# Invoke the Go compiler for localhost.
GOOS="linux" GOARCH="amd64" CGO_ENABLED="1" \
CC="clang" \
CXX="clang++" \
exec go "$@"