diff options
author | Stephen Hines <srhines@google.com> | 2017-02-08 10:40:03 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-02-08 10:40:03 +0000 |
commit | 9c6fa5f9e514c743e62be0ee401c12e10c94d7f1 (patch) | |
tree | 87b3a32b13c392939d66fa93105896f5df0736a6 /go/chromeos/go_x86-zgb | |
parent | baba90fd78c18585d22430dc95c748f96ad0c772 (diff) | |
parent | 870a8df6fcb12de32fa2dd83b6ed0f7b24dbab1e (diff) | |
download | toolchain-utils-9c6fa5f9e514c743e62be0ee401c12e10c94d7f1.tar.gz |
Merge remote-tracking branch 'aosp/mirror-chromium-master' into initial_import
am: 870a8df6fc
Change-Id: I98e43c690589937e0db0981fc88383583c7b36d3
Diffstat (limited to 'go/chromeos/go_x86-zgb')
-rwxr-xr-x | go/chromeos/go_x86-zgb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/go/chromeos/go_x86-zgb b/go/chromeos/go_x86-zgb new file mode 100755 index 00000000..272efb58 --- /dev/null +++ b/go/chromeos/go_x86-zgb @@ -0,0 +1,11 @@ +#!/bin/bash + +# Invoke the Go cross compiler for x86-zgb. +# Uses ../go_target to add PIE flags. +# +# This is just an example for an 386 board. + +GOOS="linux" GOARCH="386" CGO_ENABLED="1" \ + CC="i686-pc-linux-gnu-gcc" \ + CXX="i686-pc-linux-gnu-g++" \ + exec go_target "$@" |