summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-containers/kubernetes/kubernetes/0001-hack-lib-golang.sh-use-CC-from-environment.patch25
1 files changed, 16 insertions, 9 deletions
diff --git a/recipes-containers/kubernetes/kubernetes/0001-hack-lib-golang.sh-use-CC-from-environment.patch b/recipes-containers/kubernetes/kubernetes/0001-hack-lib-golang.sh-use-CC-from-environment.patch
index 1c4555a3..c81bd1a4 100644
--- a/recipes-containers/kubernetes/kubernetes/0001-hack-lib-golang.sh-use-CC-from-environment.patch
+++ b/recipes-containers/kubernetes/kubernetes/0001-hack-lib-golang.sh-use-CC-from-environment.patch
@@ -1,21 +1,25 @@
1From 9cbb2d523d481053d405ebac830c2074b00d3417 Mon Sep 17 00:00:00 2001 1From 116ccf93eef322db23e3bd4f35b12be09ebfbde5 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen.kooi@linaro.org> 2From: Koen Kooi <koen.kooi@linaro.org>
3Date: Mon, 23 Jul 2018 15:28:02 +0200 3Date: Mon, 23 Jul 2018 15:28:02 +0200
4Subject: [PATCH] hack/lib/golang.sh: use CC from environment 4Subject: [PATCH 1/2] hack/lib/golang.sh: use CC from environment
5 5
6Toolchain tupples differs, especially when using vendor provides ones. 6Toolchain tupples differs, especially when using vendor provides ones.
7 7
8Upstream-status: Inappropriate [embedded specific] 8Upstream-status: Inappropriate [embedded specific]
9Signed-off-by: Koen Kooi <koen.kooi@linaro.org> 9Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
10--- 10---
11 hack/lib/golang.sh | 4 ---- 11 hack/lib/golang.sh | 5 -----
12 1 file changed, 4 deletions(-) 12 1 file changed, 5 deletions(-)
13 13
14Index: kubernetes-v1.21.1+git45da3fc33872083fb225c1a8c4d03e530d6f7630/hack/lib/golang.sh 14diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh
15=================================================================== 15index fb97ee76783..0ed2d719dd1 100755
16--- kubernetes-v1.21.1+git45da3fc33872083fb225c1a8c4d03e530d6f7630.orig/hack/lib/golang.sh 16--- a/hack/lib/golang.sh
17+++ kubernetes-v1.21.1+git45da3fc33872083fb225c1a8c4d03e530d6f7630/hack/lib/golang.sh 17+++ b/hack/lib/golang.sh
18@@ -414,19 +414,15 @@ 18@@ -419,23 +419,18 @@ kube::golang::set_platform_envs() {
19 case "${platform}" in
20 "linux/amd64")
21 export CGO_ENABLED=1
22- export CC=${KUBE_LINUX_AMD64_CC:-x86_64-linux-gnu-gcc}
19 ;; 23 ;;
20 "linux/arm") 24 "linux/arm")
21 export CGO_ENABLED=1 25 export CGO_ENABLED=1
@@ -35,3 +39,6 @@ Index: kubernetes-v1.21.1+git45da3fc33872083fb225c1a8c4d03e530d6f7630/hack/lib/g
35 ;; 39 ;;
36 esac 40 esac
37 fi 41 fi
42--
432.37.1
44