diff options
Diffstat (limited to 'go/chromeos/go_chell')
-rwxr-xr-x | go/chromeos/go_chell | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/go/chromeos/go_chell b/go/chromeos/go_chell new file mode 100755 index 00000000..ca6a7dba --- /dev/null +++ b/go/chromeos/go_chell @@ -0,0 +1,11 @@ +#!/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 "$@" |