diff options
Diffstat (limited to 'go/android/go_volantis')
-rwxr-xr-x | go/android/go_volantis | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/go/android/go_volantis b/go/android/go_volantis new file mode 100755 index 00000000..bfeab196 --- /dev/null +++ b/go/android/go_volantis @@ -0,0 +1,11 @@ +#!/bin/bash + +# Invoke the Go cross compiler for volantis. +# Uses ../go_target to add PIE flags. +# +# This is just an example for an arm64 device. + +GOOS="android" GOARCH="arm64" CGO_ENABLED="1" \ + CC="aarch64-linux-android-gcc" \ + CXX="aarch64-linux-android-g++" \ + exec go_target "$@" |