Skip to content

Commit 77fc92d

Browse files
authored
Remove empty -extldflags (#219)
We removed the static flag but having an empty extldflags is causing issues for some compiler. Since it is not needed removing completely Signed-off-by: Alexander Wels <[email protected]>
1 parent 039e8d1 commit 77fc92d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hack/build-csi.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ script_dir="$(cd "$(dirname "$0")" && pwd -P)"
1818
source "${script_dir}"/common.sh
1919
setGoInProw $GOLANG_VER
2020

21-
CGO_ENABLED=1 go build -a -tags strictfipsruntime -ldflags '-extldflags' -o _out/hostpath-csi-driver cmd/plugin/plugin.go
21+
CGO_ENABLED=1 go build -a -tags strictfipsruntime -o _out/hostpath-csi-driver cmd/plugin/plugin.go

hack/build-provisioner.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ script_dir="$(cd "$(dirname "$0")" && pwd -P)"
1717
source "${script_dir}"/common.sh
1818
setGoInProw $GOLANG_VER
1919

20-
CGO_ENABLED=1 go build -a -tags strictfipsruntime -ldflags '-extldflags' -o _out/hostpath-provisioner cmd/provisioner/hostpath-provisioner.go
20+
CGO_ENABLED=1 go build -a -tags strictfipsruntime -o _out/hostpath-provisioner cmd/provisioner/hostpath-provisioner.go

0 commit comments

Comments
 (0)