You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
284 B

#!/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 "$@"