Skip to content

Commit cb8241a

Browse files
Merge pull request #359 from eparis/remove-cgo-0
Do not build with CGO_ENABLED=0
2 parents 26de2a1 + 7ee93ce commit cb8241a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/build-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ fi
3030
mkdir -p ${BIN_PATH}
3131

3232
echo "Building ${REPO} (${VERSION_OVERRIDE})"
33-
CGO_ENABLED=0 GOOS=${GOOS} GOARCH=${GOARCH} go build ${GOFLAGS} -ldflags "${GLDFLAGS}" -o ${BIN_PATH}/cluster-version-operator ${REPO}/cmd/...
33+
GOOS=${GOOS} GOARCH=${GOARCH} go build ${GOFLAGS} -ldflags "${GLDFLAGS}" -o ${BIN_PATH}/cluster-version-operator ${REPO}/cmd/...

0 commit comments

Comments
 (0)