blob: d02dadc9ce0bd250869c6e3c0628b7264ad9a43f [file] [log] [blame]
#!/bin/bash
# Invoke the Go cross compiler for marlin32.
# Uses ../go_target to add PIE flags.
#
# This is just an example for an arm device.
GOOS="android" GOARCH="arm" CGO_ENABLED="1" \
CC="arm-linux-androideabi-clang" \
CXX="arm-linux-androideabi-clang++" \
exec go_target "$@"