summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch')
-rw-r--r--meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch b/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
index fe830ce35c..58512207a8 100644
--- a/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
+++ b/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
@@ -1,4 +1,4 @@
1From 1cbb416538a9c7c3fbedcb23f4d90d5c48becca8 Mon Sep 17 00:00:00 2001 1From e0999902687e2e394499f7153db8d62440c4dab0 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 10 Nov 2020 16:33:27 +0000 3Date: Tue, 10 Nov 2020 16:33:27 +0000
4Subject: [PATCH 8/9] src/cmd/dist/buildgo.go: do not hardcode host compilers 4Subject: [PATCH 8/9] src/cmd/dist/buildgo.go: do not hardcode host compilers
@@ -8,16 +8,18 @@ These come from $CC/$CXX on the build host and are not useful on targets;
8additionally as they contain host specific paths, this helps reproducibility. 8additionally as they contain host specific paths, this helps reproducibility.
9 9
10Upstream-Status: Inappropriate [needs upstream discussion] 10Upstream-Status: Inappropriate [needs upstream discussion]
11
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
12--- 14---
13 src/cmd/dist/buildgo.go | 8 ++++---- 15 src/cmd/dist/buildgo.go | 8 ++++----
14 1 file changed, 4 insertions(+), 4 deletions(-) 16 1 file changed, 4 insertions(+), 4 deletions(-)
15 17
16diff --git a/src/cmd/dist/buildgo.go b/src/cmd/dist/buildgo.go 18diff --git a/src/cmd/dist/buildgo.go b/src/cmd/dist/buildgo.go
17index 29b0167..63a49f0 100644 19index 884e9d7..2f52eda 100644
18--- a/src/cmd/dist/buildgo.go 20--- a/src/cmd/dist/buildgo.go
19+++ b/src/cmd/dist/buildgo.go 21+++ b/src/cmd/dist/buildgo.go
20@@ -33,8 +33,8 @@ func mkzdefaultcc(dir, file string) { 22@@ -51,8 +51,8 @@ func mkzdefaultcc(dir, file string) {
21 fmt.Fprintf(&buf, "package cfg\n") 23 fmt.Fprintf(&buf, "package cfg\n")
22 fmt.Fprintln(&buf) 24 fmt.Fprintln(&buf)
23 fmt.Fprintf(&buf, "const DefaultPkgConfig = `%s`\n", defaultpkgconfig) 25 fmt.Fprintf(&buf, "const DefaultPkgConfig = `%s`\n", defaultpkgconfig)
@@ -28,7 +30,7 @@ index 29b0167..63a49f0 100644
28 writefile(buf.String(), file, writeSkipSame) 30 writefile(buf.String(), file, writeSkipSame)
29 return 31 return
30 } 32 }
31@@ -45,8 +45,8 @@ func mkzdefaultcc(dir, file string) { 33@@ -62,8 +62,8 @@ func mkzdefaultcc(dir, file string) {
32 fmt.Fprintf(&buf, "package main\n") 34 fmt.Fprintf(&buf, "package main\n")
33 fmt.Fprintln(&buf) 35 fmt.Fprintln(&buf)
34 fmt.Fprintf(&buf, "const defaultPkgConfig = `%s`\n", defaultpkgconfig) 36 fmt.Fprintf(&buf, "const defaultPkgConfig = `%s`\n", defaultpkgconfig)
@@ -40,5 +42,5 @@ index 29b0167..63a49f0 100644
40 } 42 }
41 43
42-- 44--
432.30.2 452.43.0
44 46