diff --git a/package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch index 992a83a644..c7cf02ced2 100644 --- a/package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch +++ b/package/go/go-src/0001-build.go-explicit-option-for-crosscompilation.patch @@ -7,7 +7,7 @@ Actually if GOHOSTOS == GOOS || GOHOSTARCH == GOARCH the go build system assume it's not cross compiling and uses the same toolchain also for the bootstrap. This is a problem in case the cross compilation mandates a different toolchain for bootstrap and target. This patch adds -GO_ASSUME_CROSSCOMPILING varible to assure that in case of cross +GO_ASSUME_CROSSCOMPILING variable to assure that in case of cross compilation CC_FOR_TARGET can be different from CC. Signed-off-by: Angelo Compagnucci