diff options
Diffstat (limited to 'meta/recipes-devtools/go/go-1.18/0007-cmd-go-make-GOROOT-precious-by-default.patch')
| -rw-r--r-- | meta/recipes-devtools/go/go-1.18/0007-cmd-go-make-GOROOT-precious-by-default.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-devtools/go/go-1.18/0007-cmd-go-make-GOROOT-precious-by-default.patch b/meta/recipes-devtools/go/go-1.18/0007-cmd-go-make-GOROOT-precious-by-default.patch index 4b4d0d4f3d..534d431045 100644 --- a/meta/recipes-devtools/go/go-1.18/0007-cmd-go-make-GOROOT-precious-by-default.patch +++ b/meta/recipes-devtools/go/go-1.18/0007-cmd-go-make-GOROOT-precious-by-default.patch | |||
| @@ -29,7 +29,7 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com> | |||
| 29 | 29 | ||
| 30 | --- a/src/cmd/go/internal/work/action.go | 30 | --- a/src/cmd/go/internal/work/action.go |
| 31 | +++ b/src/cmd/go/internal/work/action.go | 31 | +++ b/src/cmd/go/internal/work/action.go |
| 32 | @@ -670,6 +670,9 @@ func (b *Builder) addTransitiveLinkDeps( | 32 | @@ -673,6 +673,9 @@ func (b *Builder) addTransitiveLinkDeps( |
| 33 | if p1 == nil || p1.Shlib == "" || haveShlib[filepath.Base(p1.Shlib)] { | 33 | if p1 == nil || p1.Shlib == "" || haveShlib[filepath.Base(p1.Shlib)] { |
| 34 | continue | 34 | continue |
| 35 | } | 35 | } |
| @@ -41,7 +41,7 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com> | |||
| 41 | // we'll end up building an overall library or executable that depends at runtime | 41 | // we'll end up building an overall library or executable that depends at runtime |
| 42 | --- a/src/cmd/go/internal/work/build.go | 42 | --- a/src/cmd/go/internal/work/build.go |
| 43 | +++ b/src/cmd/go/internal/work/build.go | 43 | +++ b/src/cmd/go/internal/work/build.go |
| 44 | @@ -167,6 +167,8 @@ See also: go install, go get, go clean. | 44 | @@ -197,6 +197,8 @@ See also: go install, go get, go clean. |
| 45 | 45 | ||
| 46 | const concurrentGCBackendCompilationEnabledByDefault = true | 46 | const concurrentGCBackendCompilationEnabledByDefault = true |
| 47 | 47 | ||
| @@ -50,7 +50,7 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com> | |||
| 50 | func init() { | 50 | func init() { |
| 51 | // break init cycle | 51 | // break init cycle |
| 52 | CmdBuild.Run = runBuild | 52 | CmdBuild.Run = runBuild |
| 53 | @@ -179,6 +181,10 @@ func init() { | 53 | @@ -209,6 +211,10 @@ func init() { |
| 54 | 54 | ||
| 55 | AddBuildFlags(CmdBuild, DefaultBuildFlags) | 55 | AddBuildFlags(CmdBuild, DefaultBuildFlags) |
| 56 | AddBuildFlags(CmdInstall, DefaultBuildFlags) | 56 | AddBuildFlags(CmdInstall, DefaultBuildFlags) |
| @@ -63,7 +63,7 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com> | |||
| 63 | // Note that flags consulted by other parts of the code | 63 | // Note that flags consulted by other parts of the code |
| 64 | --- a/src/cmd/go/internal/work/exec.go | 64 | --- a/src/cmd/go/internal/work/exec.go |
| 65 | +++ b/src/cmd/go/internal/work/exec.go | 65 | +++ b/src/cmd/go/internal/work/exec.go |
| 66 | @@ -468,6 +468,23 @@ func (b *Builder) build(a *Action) (err | 66 | @@ -535,6 +535,23 @@ func (b *Builder) build(ctx context.Cont |
| 67 | return errors.New("binary-only packages are no longer supported") | 67 | return errors.New("binary-only packages are no longer supported") |
| 68 | } | 68 | } |
| 69 | 69 | ||
| @@ -87,7 +87,7 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com> | |||
| 87 | if err := b.Mkdir(a.Objdir); err != nil { | 87 | if err := b.Mkdir(a.Objdir); err != nil { |
| 88 | return err | 88 | return err |
| 89 | } | 89 | } |
| 90 | @@ -1520,6 +1537,14 @@ func BuildInstallFunc(b *Builder, a *Act | 90 | @@ -1585,6 +1602,14 @@ func (b *Builder) linkShared(ctx context |
| 91 | return err | 91 | return err |
| 92 | } | 92 | } |
| 93 | 93 | ||
