From 11cc950b3bb83206698bb4081e4158c71b1fd8a4 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 10 Sep 2024 09:08:16 +0200 Subject: [PATCH] package/go-src: fix variable typo in patch description Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN (cherry picked from commit c31189363b65b390fe8c0fddf03f26f933451d89) Signed-off-by: Peter Korsgaard --- .../go/0001-build.go-explicit-option-for-crosscompilation.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch b/package/go/0001-build.go-explicit-option-for-crosscompilation.patch index 992a83a644..c7cf02ced2 100644 --- a/package/go/0001-build.go-explicit-option-for-crosscompilation.patch +++ b/package/go/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