mirror of https://github.com/k3s-io/k3s
Remove -installsuffix from go build
This is a go install argument which has no use in go build. Clean it up.pull/6/head
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