hack/build-go: Drop dependency on CGO again
This helps unblock booting into newer hosts.
@@ -31,9 +31,6 @@ fi
mkdir -p ${BIN_PATH}
CGO_ENABLED=0
-if [[ $WHAT == "machine-config-daemon" ]]; then
- CGO_ENABLED=1
-fi
echo "Building ${REPO}/cmd/${WHAT} (${VERSION_OVERRIDE})"
CGO_ENABLED=${CGO_ENABLED} GOOS=${GOOS} GOARCH=${GOARCH} go build ${GOFLAGS} -ldflags "${GLDFLAGS} -s -w" -o ${BIN_PATH}/${WHAT} ${REPO}/cmd/${WHAT}
