diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2023-10-09 16:40:36 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-12 07:53:40 +0100 |
commit | 1e03705deb10f089739bb8bd6db3d61e1ea8b5ac (patch) | |
tree | 774f416dd7c862dd54639f56a0c6b3ec2ab5b157 | |
parent | 7e3f095a82503b1c302e7de29eef7421f8da28ca (diff) | |
download | poky-1e03705deb10f089739bb8bd6db3d61e1ea8b5ac.tar.gz |
go: update 1.20.7 -> 1.20.8
Upgrade to latest 1.20.x release [1]:
$ git log --oneline go1.20.7..go1.20.8
d5b8518043 (tag: go1.20.8) [release-branch.go1.20] go1.20.8
2070531d2f [release-branch.go1.20] html/template: properly handle special tags within the script context
023b542edf [release-branch.go1.20] html/template: support HTML-like comments in script contexts
612da32fb5 [release-branch.go1.20] cmd/compile: in expandCalls, move all arg marshalling into call block
f0b8768dbc [release-branch.go1.20] path/filepath: don't drop .. elements when cleaning invalid Windows paths
b463668275 [release-branch.go1.20] runtime: profiling on Darwin cannot use blocking reads
974a3c9af7 [release-branch.go1.20] go/types, types2: don't panic during interface completion
14e3c7338d [release-branch.go1.20] cmd/api: rename api.go to main_test.go
095cfba86b [release-branch.go1.20] crypto/tls: add GODEBUG to control max RSA key size
1a91bb94b0 [release-branch.go1.20] cmd/go: do not index std as a module in modcache
ede3e278ae [release-branch.go1.20] net/http: permit requests with invalid Host headers
201f8b40dc [release-branch.go1.20] cmd/go: refuse to build Go 1.22 code
[1] https://github.com/golang/go/compare/go1.20.7...go1.20.8
(From OE-Core rev: 25d0870ae045a6f7845ebc905f2d6602a2ce854d)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 files changed, 24 insertions, 24 deletions
diff --git a/meta/recipes-devtools/go/go-1.20.7.inc b/meta/recipes-devtools/go/go-1.20.8.inc index f7974367cc..958d751323 100644 --- a/meta/recipes-devtools/go/go-1.20.7.inc +++ b/meta/recipes-devtools/go/go-1.20.8.inc | |||
@@ -15,4 +15,4 @@ SRC_URI += "\ | |||
15 | file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ | 15 | file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ |
16 | file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ | 16 | file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ |
17 | " | 17 | " |
18 | SRC_URI[main.sha256sum] = "2c5ee9c9ec1e733b0dbbc2bdfed3f62306e51d8172bf38f4f4e542b27520f597" | 18 | SRC_URI[main.sha256sum] = "38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e" |
diff --git a/meta/recipes-devtools/go/go-binary-native_1.20.7.bb b/meta/recipes-devtools/go/go-binary-native_1.20.8.bb index 3decde1954..cd6dbcb5e9 100644 --- a/meta/recipes-devtools/go/go-binary-native_1.20.7.bb +++ b/meta/recipes-devtools/go/go-binary-native_1.20.8.bb | |||
@@ -9,9 +9,9 @@ PROVIDES = "go-native" | |||
9 | 9 | ||
10 | # Checksums available at https://go.dev/dl/ | 10 | # Checksums available at https://go.dev/dl/ |
11 | SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" | 11 | SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" |
12 | SRC_URI[go_linux_amd64.sha256sum] = "f0a87f1bcae91c4b69f8dc2bc6d7e6bfcd7524fceec130af525058c0c17b1b44" | 12 | SRC_URI[go_linux_amd64.sha256sum] = "cc97c28d9c252fbf28f91950d830201aa403836cbed702a05932e63f7f0c7bc4" |
13 | SRC_URI[go_linux_arm64.sha256sum] = "44781ae3b153c3b07651d93b6bc554e835a36e2d72a696281c1e4dad9efffe43" | 13 | SRC_URI[go_linux_arm64.sha256sum] = "15ab379c6a2b0d086fe3e74be4599420e66549edf7426a300ee0f3809500f89e" |
14 | SRC_URI[go_linux_ppc64le.sha256sum] = "6318a1db307c12b8afe68808bd6fae4fba1e558a85b958216096869ed506dcb3" | 14 | SRC_URI[go_linux_ppc64le.sha256sum] = "a5034a9c7eac6c5bcc650c2605c5edb4039c7b6064e2a2ea43c415c8af91f5f6" |
15 | 15 | ||
16 | UPSTREAM_CHECK_URI = "https://golang.org/dl/" | 16 | UPSTREAM_CHECK_URI = "https://golang.org/dl/" |
17 | UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux" | 17 | UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux" |
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.20.7.bb b/meta/recipes-devtools/go/go-cross-canadian_1.20.8.bb index 7ac9449e47..7ac9449e47 100644 --- a/meta/recipes-devtools/go/go-cross-canadian_1.20.7.bb +++ b/meta/recipes-devtools/go/go-cross-canadian_1.20.8.bb | |||
diff --git a/meta/recipes-devtools/go/go-cross_1.20.7.bb b/meta/recipes-devtools/go/go-cross_1.20.8.bb index 80b5a03f6c..80b5a03f6c 100644 --- a/meta/recipes-devtools/go/go-cross_1.20.7.bb +++ b/meta/recipes-devtools/go/go-cross_1.20.8.bb | |||
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.20.7.bb b/meta/recipes-devtools/go/go-crosssdk_1.20.8.bb index 1857c8a577..1857c8a577 100644 --- a/meta/recipes-devtools/go/go-crosssdk_1.20.7.bb +++ b/meta/recipes-devtools/go/go-crosssdk_1.20.8.bb | |||
diff --git a/meta/recipes-devtools/go/go-native_1.20.7.bb b/meta/recipes-devtools/go/go-native_1.20.8.bb index ddf25b2c9b..ddf25b2c9b 100644 --- a/meta/recipes-devtools/go/go-native_1.20.7.bb +++ b/meta/recipes-devtools/go/go-native_1.20.8.bb | |||
diff --git a/meta/recipes-devtools/go/go-runtime_1.20.7.bb b/meta/recipes-devtools/go/go-runtime_1.20.8.bb index 63464a1501..63464a1501 100644 --- a/meta/recipes-devtools/go/go-runtime_1.20.7.bb +++ b/meta/recipes-devtools/go/go-runtime_1.20.8.bb | |||
diff --git a/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch b/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch index 56487e34e3..9a2551031a 100644 --- a/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch +++ b/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch | |||
@@ -44,7 +44,7 @@ index 66ef5ce..fb7448a 100644 | |||
44 | // Should not happen - b.CFlags was given an empty package. | 44 | // Should not happen - b.CFlags was given an empty package. |
45 | fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err) | 45 | fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err) |
46 | diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go | 46 | diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go |
47 | index d6fa847..7e4fcb3 100644 | 47 | index 67d1193..62e1774 100644 |
48 | --- a/src/cmd/go/internal/work/exec.go | 48 | --- a/src/cmd/go/internal/work/exec.go |
49 | +++ b/src/cmd/go/internal/work/exec.go | 49 | +++ b/src/cmd/go/internal/work/exec.go |
50 | @@ -223,6 +223,8 @@ func (b *Builder) Do(ctx context.Context, root *Action) { | 50 | @@ -223,6 +223,8 @@ func (b *Builder) Do(ctx context.Context, root *Action) { |
@@ -103,7 +103,7 @@ index d6fa847..7e4fcb3 100644 | |||
103 | } | 103 | } |
104 | 104 | ||
105 | // Configuration specific to compiler toolchain. | 105 | // Configuration specific to compiler toolchain. |
106 | @@ -2970,8 +2972,25 @@ func envList(key, def string) []string { | 106 | @@ -2989,8 +2991,25 @@ func envList(key, def string) []string { |
107 | return args | 107 | return args |
108 | } | 108 | } |
109 | 109 | ||
@@ -130,7 +130,7 @@ index d6fa847..7e4fcb3 100644 | |||
130 | if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil { | 130 | if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil { |
131 | return | 131 | return |
132 | } | 132 | } |
133 | @@ -2987,6 +3006,13 @@ func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, l | 133 | @@ -3006,6 +3025,13 @@ func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, l |
134 | if ldflags, err = buildFlags("LDFLAGS", defaultCFlags, p.CgoLDFLAGS, checkLinkerFlags); err != nil { | 134 | if ldflags, err = buildFlags("LDFLAGS", defaultCFlags, p.CgoLDFLAGS, checkLinkerFlags); err != nil { |
135 | return | 135 | return |
136 | } | 136 | } |
@@ -144,7 +144,7 @@ index d6fa847..7e4fcb3 100644 | |||
144 | 144 | ||
145 | return | 145 | return |
146 | } | 146 | } |
147 | @@ -3002,7 +3028,7 @@ var cgoRe = lazyregexp.New(`[/\\:]`) | 147 | @@ -3021,7 +3047,7 @@ var cgoRe = lazyregexp.New(`[/\\:]`) |
148 | 148 | ||
149 | func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgofiles, gccfiles, gxxfiles, mfiles, ffiles []string) (outGo, outObj []string, err error) { | 149 | func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgofiles, gccfiles, gxxfiles, mfiles, ffiles []string) (outGo, outObj []string, err error) { |
150 | p := a.Package | 150 | p := a.Package |
@@ -153,7 +153,7 @@ index d6fa847..7e4fcb3 100644 | |||
153 | if err != nil { | 153 | if err != nil { |
154 | return nil, nil, err | 154 | return nil, nil, err |
155 | } | 155 | } |
156 | @@ -3510,7 +3536,7 @@ func (b *Builder) swigIntSize(objdir string) (intsize string, err error) { | 156 | @@ -3577,7 +3603,7 @@ func (b *Builder) swigIntSize(objdir string) (intsize string, err error) { |
157 | 157 | ||
158 | // Run SWIG on one SWIG input file. | 158 | // Run SWIG on one SWIG input file. |
159 | func (b *Builder) swigOne(a *Action, p *load.Package, file, objdir string, pcCFLAGS []string, cxx bool, intgosize string) (outGo, outC string, err error) { | 159 | func (b *Builder) swigOne(a *Action, p *load.Package, file, objdir string, pcCFLAGS []string, cxx bool, intgosize string) (outGo, outC string, err error) { |
diff --git a/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch b/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch index 2bc7d194bb..ced0be1998 100644 --- a/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch +++ b/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch | |||
@@ -18,10 +18,10 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com> | |||
18 | 1 file changed, 3 insertions(+) | 18 | 1 file changed, 3 insertions(+) |
19 | 19 | ||
20 | diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go | 20 | diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go |
21 | index c073017..e60d39a 100644 | 21 | index 03b9f11..e91c92f 100644 |
22 | --- a/src/cmd/link/internal/ld/lib.go | 22 | --- a/src/cmd/link/internal/ld/lib.go |
23 | +++ b/src/cmd/link/internal/ld/lib.go | 23 | +++ b/src/cmd/link/internal/ld/lib.go |
24 | @@ -1491,6 +1491,7 @@ func (ctxt *Link) hostlink() { | 24 | @@ -1504,6 +1504,7 @@ func (ctxt *Link) hostlink() { |
25 | argv = append(argv, "-Wl,-z,relro") | 25 | argv = append(argv, "-Wl,-z,relro") |
26 | } | 26 | } |
27 | argv = append(argv, "-shared") | 27 | argv = append(argv, "-shared") |
@@ -29,7 +29,7 @@ index c073017..e60d39a 100644 | |||
29 | if ctxt.HeadType == objabi.Hwindows { | 29 | if ctxt.HeadType == objabi.Hwindows { |
30 | argv = addASLRargs(argv, *flagAslr) | 30 | argv = addASLRargs(argv, *flagAslr) |
31 | } else { | 31 | } else { |
32 | @@ -1506,6 +1507,7 @@ func (ctxt *Link) hostlink() { | 32 | @@ -1519,6 +1520,7 @@ func (ctxt *Link) hostlink() { |
33 | argv = append(argv, "-Wl,-z,relro") | 33 | argv = append(argv, "-Wl,-z,relro") |
34 | } | 34 | } |
35 | argv = append(argv, "-shared") | 35 | argv = append(argv, "-shared") |
@@ -37,7 +37,7 @@ index c073017..e60d39a 100644 | |||
37 | case BuildModePlugin: | 37 | case BuildModePlugin: |
38 | if ctxt.HeadType == objabi.Hdarwin { | 38 | if ctxt.HeadType == objabi.Hdarwin { |
39 | argv = append(argv, "-dynamiclib") | 39 | argv = append(argv, "-dynamiclib") |
40 | @@ -1514,6 +1516,7 @@ func (ctxt *Link) hostlink() { | 40 | @@ -1527,6 +1529,7 @@ func (ctxt *Link) hostlink() { |
41 | argv = append(argv, "-Wl,-z,relro") | 41 | argv = append(argv, "-Wl,-z,relro") |
42 | } | 42 | } |
43 | argv = append(argv, "-shared") | 43 | argv = append(argv, "-shared") |
diff --git a/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch b/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch index 38b28b9877..520e41da86 100644 --- a/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch +++ b/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch | |||
@@ -66,11 +66,11 @@ index 2f2860a..8cc6166 100644 | |||
66 | 66 | ||
67 | // Note that flags consulted by other parts of the code | 67 | // Note that flags consulted by other parts of the code |
68 | diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go | 68 | diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go |
69 | index 7e4fcb3..d83b31b 100644 | 69 | index 62e1774..cde867b 100644 |
70 | --- a/src/cmd/go/internal/work/exec.go | 70 | --- a/src/cmd/go/internal/work/exec.go |
71 | +++ b/src/cmd/go/internal/work/exec.go | 71 | +++ b/src/cmd/go/internal/work/exec.go |
72 | @@ -527,6 +527,23 @@ func (b *Builder) build(ctx context.Context, a *Action) (err error) { | 72 | @@ -546,6 +546,23 @@ func (b *Builder) build(ctx context.Context, a *Action) (err error) { |
73 | return errors.New("binary-only packages are no longer supported") | 73 | return errors.New("cannot compile Go " + p.Module.GoVersion + " code") |
74 | } | 74 | } |
75 | 75 | ||
76 | + if goRootPrecious && (a.Package.Standard || a.Package.Goroot) { | 76 | + if goRootPrecious && (a.Package.Standard || a.Package.Goroot) { |
@@ -93,7 +93,7 @@ index 7e4fcb3..d83b31b 100644 | |||
93 | if err := b.Mkdir(a.Objdir); err != nil { | 93 | if err := b.Mkdir(a.Objdir); err != nil { |
94 | return err | 94 | return err |
95 | } | 95 | } |
96 | @@ -1624,6 +1641,14 @@ func (b *Builder) linkShared(ctx context.Context, a *Action) (err error) { | 96 | @@ -1643,6 +1660,14 @@ func (b *Builder) linkShared(ctx context.Context, a *Action) (err error) { |
97 | return err | 97 | return err |
98 | } | 98 | } |
99 | 99 | ||
diff --git a/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch b/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch index a821cf02fc..7d9869b536 100644 --- a/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch +++ b/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch | |||
@@ -15,10 +15,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
15 | 1 file changed, 2 insertions(+), 2 deletions(-) | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
16 | 16 | ||
17 | diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go | 17 | diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go |
18 | index d83b31b..a646fbb 100644 | 18 | index cde867b..5cb1812 100644 |
19 | --- a/src/cmd/go/internal/work/exec.go | 19 | --- a/src/cmd/go/internal/work/exec.go |
20 | +++ b/src/cmd/go/internal/work/exec.go | 20 | +++ b/src/cmd/go/internal/work/exec.go |
21 | @@ -1312,7 +1312,7 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID { | 21 | @@ -1331,7 +1331,7 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID { |
22 | } | 22 | } |
23 | 23 | ||
24 | // Toolchain-dependent configuration, shared with b.linkSharedActionID. | 24 | // Toolchain-dependent configuration, shared with b.linkSharedActionID. |
@@ -27,7 +27,7 @@ index d83b31b..a646fbb 100644 | |||
27 | 27 | ||
28 | // Input files. | 28 | // Input files. |
29 | for _, a1 := range a.Deps { | 29 | for _, a1 := range a.Deps { |
30 | @@ -1607,7 +1607,7 @@ func (b *Builder) linkSharedActionID(a *Action) cache.ActionID { | 30 | @@ -1626,7 +1626,7 @@ func (b *Builder) linkSharedActionID(a *Action) cache.ActionID { |
31 | fmt.Fprintf(h, "goos %s goarch %s\n", cfg.Goos, cfg.Goarch) | 31 | fmt.Fprintf(h, "goos %s goarch %s\n", cfg.Goos, cfg.Goarch) |
32 | 32 | ||
33 | // Toolchain-dependent configuration, shared with b.linkActionID. | 33 | // Toolchain-dependent configuration, shared with b.linkActionID. |
diff --git a/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch b/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch index 705c922141..49da5f6297 100644 --- a/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch +++ b/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch | |||
@@ -16,10 +16,10 @@ Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | |||
16 | 1 file changed, 13 insertions(+), 2 deletions(-) | 16 | 1 file changed, 13 insertions(+), 2 deletions(-) |
17 | 17 | ||
18 | diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go | 18 | diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go |
19 | index 56a4e5e..22edbdb 100644 | 19 | index f427e29..6d6dc4e 100644 |
20 | --- a/src/cmd/go/internal/load/pkg.go | 20 | --- a/src/cmd/go/internal/load/pkg.go |
21 | +++ b/src/cmd/go/internal/load/pkg.go | 21 | +++ b/src/cmd/go/internal/load/pkg.go |
22 | @@ -2266,6 +2266,17 @@ func (p *Package) collectDeps() { | 22 | @@ -2270,6 +2270,17 @@ func (p *Package) collectDeps() { |
23 | // to their VCS information (vcsStatusError). | 23 | // to their VCS information (vcsStatusError). |
24 | var vcsStatusCache par.Cache | 24 | var vcsStatusCache par.Cache |
25 | 25 | ||
@@ -37,7 +37,7 @@ index 56a4e5e..22edbdb 100644 | |||
37 | // setBuildInfo gathers build information, formats it as a string to be | 37 | // setBuildInfo gathers build information, formats it as a string to be |
38 | // embedded in the binary, then sets p.Internal.BuildInfo to that string. | 38 | // embedded in the binary, then sets p.Internal.BuildInfo to that string. |
39 | // setBuildInfo should only be called on a main package with no errors. | 39 | // setBuildInfo should only be called on a main package with no errors. |
40 | @@ -2372,7 +2383,7 @@ func (p *Package) setBuildInfo(autoVCS bool) { | 40 | @@ -2376,7 +2387,7 @@ func (p *Package) setBuildInfo(autoVCS bool) { |
41 | if gcflags := BuildGcflags.String(); gcflags != "" && cfg.BuildContext.Compiler == "gc" { | 41 | if gcflags := BuildGcflags.String(); gcflags != "" && cfg.BuildContext.Compiler == "gc" { |
42 | appendSetting("-gcflags", gcflags) | 42 | appendSetting("-gcflags", gcflags) |
43 | } | 43 | } |
@@ -46,7 +46,7 @@ index 56a4e5e..22edbdb 100644 | |||
46 | // https://go.dev/issue/52372: only include ldflags if -trimpath is not set, | 46 | // https://go.dev/issue/52372: only include ldflags if -trimpath is not set, |
47 | // since it can include system paths through various linker flags (notably | 47 | // since it can include system paths through various linker flags (notably |
48 | // -extar, -extld, and -extldflags). | 48 | // -extar, -extld, and -extldflags). |
49 | @@ -2418,7 +2429,7 @@ func (p *Package) setBuildInfo(autoVCS bool) { | 49 | @@ -2422,7 +2433,7 @@ func (p *Package) setBuildInfo(autoVCS bool) { |
50 | // subset of flags that are known not to be paths? | 50 | // subset of flags that are known not to be paths? |
51 | if cfg.BuildContext.CgoEnabled && !cfg.BuildTrimpath { | 51 | if cfg.BuildContext.CgoEnabled && !cfg.BuildTrimpath { |
52 | for _, name := range []string{"CGO_CFLAGS", "CGO_CPPFLAGS", "CGO_CXXFLAGS", "CGO_LDFLAGS"} { | 52 | for _, name := range []string{"CGO_CFLAGS", "CGO_CPPFLAGS", "CGO_CXXFLAGS", "CGO_LDFLAGS"} { |
diff --git a/meta/recipes-devtools/go/go_1.20.7.bb b/meta/recipes-devtools/go/go_1.20.8.bb index 46f5fbc6be..46f5fbc6be 100644 --- a/meta/recipes-devtools/go/go_1.20.7.bb +++ b/meta/recipes-devtools/go/go_1.20.8.bb | |||