aboutsummaryrefslogtreecommitdiff
path: root/go/android/go_marlin32
blob: d02dadc9ce0bd250869c6e3c0628b7264ad9a43f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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 "$@"