Home | History | Annotate | Download | only in chromeos
      1 #!/bin/bash
      2 
      3 # Invoke the Go cross compiler for daisy.
      4 # Uses ../go_target to add PIE flags.
      5 #
      6 # This is just an example for an arm board.
      7 
      8 GOOS="linux" GOARCH="arm" CGO_ENABLED="1" \
      9 	CC="armv7a-cros-linux-gnueabi-gcc" \
     10 	CXX="armv7a-cros-linux-gnueabi-g++" \
     11 	exec go_target "$@"
     12