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