1 #!/bin/bash 2 3 # Invoke the Go cross compiler for volantis. 4 # Uses ../go_target to add PIE flags. 5 # 6 # This is just an example for an arm64 device. 7 8 GOOS="android" GOARCH="arm64" CGO_ENABLED="1" \ 9 CC="aarch64-linux-android-gcc" \ 10 CXX="aarch64-linux-android-g++" \ 11 exec go_target "$@" 12