blob: bfeab196564729acd5fcbd1444091c8c1fd32450 (
plain)
1
2
3
4
5
6
7
8
9
10
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 "$@"
|