代码拉取完成,页面将自动刷新
同步操作将从 src-anolis-os/kubernetes 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From ed6bae772c83e5bc73daec3bf9031ca235ce67e9 Mon Sep 17 00:00:00 2001
From: Jan Chaloupka <jchaloup@redhat.com>
Date: Thu, 11 Apr 2019 14:22:03 +0200
Subject: [PATCH] build with debug info
---
hack/lib/golang.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh
index 7ddc0bb..e00f26b 100755
--- a/hack/lib/golang.sh
+++ b/hack/lib/golang.sh
@@ -601,7 +601,7 @@ kube::golang::build_binaries_for_platform() {
${goflags:+"${goflags[@]}"}
-gcflags "${gogcflags:-}"
-asmflags "${goasmflags:-}"
- -ldflags "${goldflags:-}"
+ -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') ${goldflags:-}"
)
CGO_ENABLED=0 kube::golang::build_some_binaries "${statics[@]}"
fi
@@ -611,7 +611,7 @@ kube::golang::build_binaries_for_platform() {
${goflags:+"${goflags[@]}"}
-gcflags "${gogcflags:-}"
-asmflags "${goasmflags:-}"
- -ldflags "${goldflags:-}"
+ -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') ${goldflags:-}"
)
kube::golang::build_some_binaries "${nonstatics[@]}"
fi
@@ -625,7 +625,7 @@ kube::golang::build_binaries_for_platform() {
${goflags:+"${goflags[@]}"} \
-gcflags "${gogcflags:-}" \
-asmflags "${goasmflags:-}" \
- -ldflags "${goldflags:-}" \
+ -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') ${goldflags:-}" \
-o "${outfile}" \
"${testpkg}"
done
--
2.7.5
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。