mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Remove -installsuffix from go build
This is a go install argument which has no use in go build. Clean it up.
This commit is contained in:
parent
d7fefb6f39
commit
2915c90200
@ -303,7 +303,7 @@ kube::golang::build_binaries_for_platform() {
|
||||
fi
|
||||
|
||||
if kube::golang::is_statically_linked_library "${binary}"; then
|
||||
CGO_ENABLED=0 go build -installsuffix cgo -o "${output_path}/${bin}" \
|
||||
CGO_ENABLED=0 go build -o "${output_path}/${bin}" \
|
||||
"${goflags[@]:+${goflags[@]}}" \
|
||||
-ldflags "${version_ldflags}" \
|
||||
"${binary}"
|
||||
|
Loading…
Reference in New Issue
Block a user