#!/bin/sh
here=`dirname $0`
native_goroot=`readlink -f $here/../../lib/i686-poky-linux/go`
export GOARCH="386"
export GOOS="linux"
test -n "$GOARM" || export GOARM=""
test -n "$GO386" || export GO386="sse2"
test -n "$GOMIPS" || export GOMIPS=""
export GOTOOLDIR="$native_goroot/pkg/tool/linux_amd64"
test -n "$GOROOT" || export GOROOT="$OECORE_TARGET_SYSROOT//usr/lib/go"
$here/../../lib/i686-poky-linux/go/bin/gofmt "$@"
