go_x86-zgb revision f637a050cc27b206824d7b1262d2aa9de0668bef
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
8GOOS="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