diff --git a/scripts/crt-build.sh b/scripts/crt-build.sh index ad95884d..d264c4f6 100755 --- a/scripts/crt-build.sh +++ b/scripts/crt-build.sh @@ -75,7 +75,7 @@ function build() { # Build vault-benchmark echo "$msg" - go build -o "$BIN_PATH" -tags "$GO_TAGS" -ldflags "$ldflags" -trimpath -buildvcs=false + CGO_ENABLED=0 go build -o "$BIN_PATH" -tags "$GO_TAGS" -ldflags "$ldflags" -trimpath -buildvcs=false } # Run the CRT Builder @@ -99,4 +99,4 @@ function main() { esac } -main "$@" \ No newline at end of file +main "$@"