You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash |
|
|
|
# Invoke the Go cross compiler for daisy. |
|
# Uses ../go_target to add PIE flags. |
|
# |
|
# This is just an example for an arm board. |
|
|
|
GOOS="linux" GOARCH="arm" CGO_ENABLED="1" \ |
|
CC="armv7a-cros-linux-gnueabi-gcc" \ |
|
CXX="armv7a-cros-linux-gnueabi-g++" \ |
|
exec go_target "$@"
|
|
|