lin
2025-08-01 633231e833e21d5b8b1c00cb15aedb62b3b78e8f
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
 
# Invoke the Go cross compiler for elm.
# Uses ../go_target to add PIE flags.
#
# This is just an example for an arm64 board.
 
GOOS="linux" GOARCH="arm64" CGO_ENABLED="1" \
   CC="aarch64-cros-linux-gnu-clang" \
   CXX="aarch64-cros-linux-gnu-clang++" \
   exec go_target "$@"