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