We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17fe18b + 7e01702 commit 7115257Copy full SHA for 7115257
hack/.shellcheck_failures
@@ -27,6 +27,7 @@
27
./hack/cherry_pick_pull.sh
28
./hack/ginkgo-e2e.sh
29
./hack/grab-profiles.sh
30
+./hack/lib/golang.sh
31
./hack/lib/init.sh
32
./hack/lib/swagger.sh
33
./hack/lib/test.sh
hack/lib/golang.sh
@@ -693,7 +693,7 @@ kube::golang::build_binaries() {
693
host_platform=$(kube::golang::host_platform)
694
695
local goflags goldflags goasmflags gogcflags
696
- goldflags="${GOLDFLAGS:-} -s -w $(kube::version::ldflags)"
+ goldflags="${GOLDFLAGS=-s -w} $(kube::version::ldflags)"
697
goasmflags="-trimpath=${KUBE_ROOT}"
698
gogcflags="${GOGCFLAGS:-} -trimpath=${KUBE_ROOT}"
699
0 commit comments