diff options
author | Stephen Hines <srhines@google.com> | 2017-02-07 13:02:21 -0800 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2017-02-07 13:03:24 -0800 |
commit | 870a8df6fcb12de32fa2dd83b6ed0f7b24dbab1e (patch) | |
tree | 87b3a32b13c392939d66fa93105896f5df0736a6 /go/chromeos/go_panther | |
parent | baba90fd78c18585d22430dc95c748f96ad0c772 (diff) | |
parent | 058aae85dcfb12049ef90137915ec7e981288569 (diff) | |
download | toolchain-utils-870a8df6fcb12de32fa2dd83b6ed0f7b24dbab1e.tar.gz |
Merge remote-tracking branch 'aosp/mirror-chromium-master' into initial_import
Initial import of Chromium's toolchain-utils project.
Bug: http://b/31321592
Test: None necessary, as this is just a helper repository.
Change-Id: I61d2caaf1195da18cfaa7795706e8fc7fecff1d4
Diffstat (limited to 'go/chromeos/go_panther')
-rwxr-xr-x | go/chromeos/go_panther | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/go/chromeos/go_panther b/go/chromeos/go_panther new file mode 100755 index 00000000..5c06f432 --- /dev/null +++ b/go/chromeos/go_panther @@ -0,0 +1,11 @@ +#!/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 "$@" |