summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch')
-rw-r--r--meta/recipes-devtools/go/go/0007-exec.go-do-not-write-linker-flags-into-buildids.patch12
1 files changed, 7 insertions, 5 deletions
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 7d9869b536..3e0ba35d81 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
@@ -1,4 +1,4 @@
1From 0ba747e6a4b251a0d9eed0cfd8f8c491bb508040 Mon Sep 17 00:00:00 2001 1From 619991feab04f331d081a91243434ccd859f611d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 23 Nov 2020 19:22:04 +0000 3Date: Mon, 23 Nov 2020 19:22:04 +0000
4Subject: [PATCH 7/9] exec.go: do not write linker flags into buildids 4Subject: [PATCH 7/9] exec.go: do not write linker flags into buildids
@@ -9,16 +9,18 @@ To make this acceptable to upstream, we probably need to trim the flags,
9removing those known to be buildhost-specific. 9removing those known to be buildhost-specific.
10 10
11Upstream-Status: Inappropriate [needs upstream discussion] 11Upstream-Status: Inappropriate [needs upstream discussion]
12
12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 13Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
13--- 15---
14 src/cmd/go/internal/work/exec.go | 4 ++-- 16 src/cmd/go/internal/work/exec.go | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-) 17 1 file changed, 2 insertions(+), 2 deletions(-)
16 18
17diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go 19diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
18index cde867b..5cb1812 100644 20index 0ea5316..d7e2d51 100644
19--- a/src/cmd/go/internal/work/exec.go 21--- a/src/cmd/go/internal/work/exec.go
20+++ b/src/cmd/go/internal/work/exec.go 22+++ b/src/cmd/go/internal/work/exec.go
21@@ -1331,7 +1331,7 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID { 23@@ -1357,7 +1357,7 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID {
22 } 24 }
23 25
24 // Toolchain-dependent configuration, shared with b.linkSharedActionID. 26 // Toolchain-dependent configuration, shared with b.linkSharedActionID.
@@ -27,7 +29,7 @@ index cde867b..5cb1812 100644
27 29
28 // Input files. 30 // Input files.
29 for _, a1 := range a.Deps { 31 for _, a1 := range a.Deps {
30@@ -1626,7 +1626,7 @@ func (b *Builder) linkSharedActionID(a *Action) cache.ActionID { 32@@ -1705,7 +1705,7 @@ func (b *Builder) linkSharedActionID(a *Action) cache.ActionID {
31 fmt.Fprintf(h, "goos %s goarch %s\n", cfg.Goos, cfg.Goarch) 33 fmt.Fprintf(h, "goos %s goarch %s\n", cfg.Goos, cfg.Goarch)
32 34
33 // Toolchain-dependent configuration, shared with b.linkActionID. 35 // Toolchain-dependent configuration, shared with b.linkActionID.
@@ -37,5 +39,5 @@ index cde867b..5cb1812 100644
37 // Input files. 39 // Input files.
38 for _, a1 := range a.Deps { 40 for _, a1 := range a.Deps {
39-- 41--
402.30.2 422.43.0
41 43