blob: ca6a7dbacc3fdf99d4afce1085d9e6f04612c8a1 [file] [log] [blame]
#!/bin/bash
# Invoke the Go cross compiler for chell.
# 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-clang" \
CXX="x86_64-cros-linux-gnu-clang++" \
exec go_target "$@"