diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-01-12 16:26:46 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-01-12 16:27:09 +0000 |
commit | f24402c59aee6fcdd4383258e544135f2c19039b (patch) | |
tree | 41c25b0ffdaf6fe6a932e399c393f6709855dc10 /testing/kubernetes/build-with-debug-info.patch | |
parent | c91bba7beb3a5cb3204fa59656532a80def51c39 (diff) | |
download | aports-f24402c59aee6fcdd4383258e544135f2c19039b.tar.bz2 aports-f24402c59aee6fcdd4383258e544135f2c19039b.tar.xz |
testing/kubernetes: moved from unmaintained, fixed build, upgrade to 1.5.2
Diffstat (limited to 'testing/kubernetes/build-with-debug-info.patch')
-rw-r--r-- | testing/kubernetes/build-with-debug-info.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/kubernetes/build-with-debug-info.patch b/testing/kubernetes/build-with-debug-info.patch new file mode 100644 index 0000000000..866c640fd6 --- /dev/null +++ b/testing/kubernetes/build-with-debug-info.patch @@ -0,0 +1,34 @@ +From 7e07ff7120f2c5ed1030ed603f9bd2714c709ed6 Mon Sep 17 00:00:00 2001 +From: Jan Chaloupka <jchaloup@redhat.com> +Date: Mon, 31 Oct 2016 09:02:37 +0100 +Subject: [PATCH] build with debug info + +--- + hack/lib/golang.sh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh +index ccd6c0a..c29bf85 100755 +--- a/hack/lib/golang.sh ++++ b/hack/lib/golang.sh +@@ -484,7 +484,7 @@ kube::golang::build_binaries_for_platform() { + CGO_ENABLED=0 go build -o "${outfile}" \ + "${goflags[@]:+${goflags[@]}}" \ + -gcflags "${gogcflags}" \ +- -ldflags "${goldflags}" \ ++ -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') ${goldflags}" \ + "${binary}" + kube::log::progress "*" + done +@@ -493,7 +493,7 @@ kube::golang::build_binaries_for_platform() { + go build -o "${outfile}" \ + "${goflags[@]:+${goflags[@]}}" \ + -gcflags "${gogcflags}" \ +- -ldflags "${goldflags}" \ ++ -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') ${goldflags}" \ + "${binary}" + kube::log::progress "*" + done +-- +1.9.3 + |