blob: a92d9c64d98c1976dac9b82f55bf51acdd22813b [file] [log] [blame]
#!/bin/bash
# Invoke the Go cross compiler for elm.
# Uses ../go_target to add PIE flags.
#
# This is just an example for an arm64 board.
GOOS="linux" GOARCH="arm64" CGO_ENABLED="1" \
CC="aarch64-cros-linux-gnu-clang" \
CXX="aarch64-cros-linux-gnu-clang++" \
exec go_target "$@"