allwinner_a64/android/external/toolchain-utils/go/chromeos/go_panther
2018-08-08 16:14:42 +08:00

11 lines
280 B
Bash
Executable file

#!/bin/bash
# Invoke the Go cross compiler for panther.
# Uses ../go_target to add PIE flags.
#
# This is just an example for an amd64 board.
GOOS="linux" GOARCH="amd64" CGO_ENABLED="1" \
CC="x86_64-cros-linux-gnu-gcc" \
CXX="x86_64-cros-linux-gnu-g++" \
exec go_target "$@"