12 lines
286 B
Bash
Executable File
12 lines
286 B
Bash
Executable File
#!/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 "$@"
|