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.

11 lines
268 B

#!/bin/bash
# Invoke the Go cross compiler for x86-zgb.
# Uses ../go_target to add PIE flags.
#
# This is just an example for an 386 board.
GOOS="linux" GOARCH="386" CGO_ENABLED="1" \
CC="i686-pc-linux-gnu-gcc" \
CXX="i686-pc-linux-gnu-g++" \
exec go_target "$@"