From 2915c90200cafdf1db1c38002a50fc8ee3c4d189 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Fri, 17 Apr 2015 11:07:36 -0400 Subject: [PATCH] Remove -installsuffix from go build This is a go install argument which has no use in go build. Clean it up. --- hack/lib/golang.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index 3f3f0be768a..44ae2bdb193 100644 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -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}"