Skip to content

Commit 5856e47

Browse files
Merge pull request kubernetes-sigs#41 from tsmetana/fix-forced-cgo-build
OCPBUGS-17367: UPSTREAM: <carry>: Remove the static library linking flag
2 parents fc6c758 + aedb406 commit 5856e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ endif
3737
all: gce-pd-driver gce-pd-driver-windows
3838
gce-pd-driver: require-GCE_PD_CSI_STAGING_VERSION
3939
mkdir -p bin
40-
CGO_ENABLED=0 go build -mod=vendor -gcflags=$(GCFLAGS) -ldflags "-extldflags=static -X main.version=$(STAGINGVERSION)" -o bin/${DRIVERBINARY} ./cmd/gce-pd-csi-driver/
40+
CGO_ENABLED=0 go build -mod=vendor -gcflags=$(GCFLAGS) -ldflags "-X main.version=$(STAGINGVERSION)" -o bin/${DRIVERBINARY} ./cmd/gce-pd-csi-driver/
4141

4242
gce-pd-driver-windows: require-GCE_PD_CSI_STAGING_VERSION
4343
ifeq (${GOARCH}, amd64)

0 commit comments

Comments
 (0)