diff options
Diffstat (limited to 'meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch')
-rw-r--r-- | meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch b/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch index 6d1a02e6c0..001c94a4e7 100644 --- a/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch +++ b/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch | |||
@@ -20,7 +20,7 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> | |||
20 | 2 files changed, 8 insertions(+), 2 deletions(-) | 20 | 2 files changed, 8 insertions(+), 2 deletions(-) |
21 | 21 | ||
22 | diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go | 22 | diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go |
23 | index 8973a87..adc9fd2 100644 | 23 | index 32e59b446a..06ee4de8a9 100644 |
24 | --- a/src/cmd/dist/build.go | 24 | --- a/src/cmd/dist/build.go |
25 | +++ b/src/cmd/dist/build.go | 25 | +++ b/src/cmd/dist/build.go |
26 | @@ -259,7 +259,9 @@ func xinit() { | 26 | @@ -259,7 +259,9 @@ func xinit() { |
@@ -35,10 +35,10 @@ index 8973a87..adc9fd2 100644 | |||
35 | goversion := findgoversion() | 35 | goversion := findgoversion() |
36 | isRelease = strings.HasPrefix(goversion, "release.") || strings.HasPrefix(goversion, "go") | 36 | isRelease = strings.HasPrefix(goversion, "release.") || strings.HasPrefix(goversion, "go") |
37 | diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go | 37 | diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go |
38 | index 8caa22a..0c322fb 100644 | 38 | index a8daa2dfc3..393ada39c9 100644 |
39 | --- a/src/cmd/go/internal/cfg/cfg.go | 39 | --- a/src/cmd/go/internal/cfg/cfg.go |
40 | +++ b/src/cmd/go/internal/cfg/cfg.go | 40 | +++ b/src/cmd/go/internal/cfg/cfg.go |
41 | @@ -231,7 +231,11 @@ func SetGOROOT(goroot string, isTestGo bool) { | 41 | @@ -230,7 +230,11 @@ func SetGOROOT(goroot string, isTestGo bool) { |
42 | // This matches the initialization of ToolDir in go/build, except for | 42 | // This matches the initialization of ToolDir in go/build, except for |
43 | // using ctxt.GOROOT and the installed GOOS and GOARCH rather than the | 43 | // using ctxt.GOROOT and the installed GOOS and GOARCH rather than the |
44 | // GOROOT, GOOS, and GOARCH reported by the runtime package. | 44 | // GOROOT, GOOS, and GOARCH reported by the runtime package. |
@@ -52,5 +52,5 @@ index 8caa22a..0c322fb 100644 | |||
52 | } | 52 | } |
53 | } | 53 | } |
54 | -- | 54 | -- |
55 | 2.43.0 | 55 | 2.44.0 |
56 | 56 | ||