diff --git a/recipes-devtools/go/go.inc b/recipes-devtools/go/go.inc old mode 100644 new mode 100755 index 8dae6ab..b2a00f6 --- a/recipes-devtools/go/go.inc +++ b/recipes-devtools/go/go.inc @@ -52,12 +52,15 @@ setup_go_arch() { } setup_cgo_gcc_wrapper() { + sdkpathnative=${7:-${SDKPATHNATIVE}} + bindir=${5:-${bindir_nativesdk}} + # Is there a bug in the cross-compiler support for CGO? Can't get it # to work without this wrapper for t in gcc g++ ; do cat > ${WORKDIR}/${TARGET_PREFIX}${t} <