Skip to content

Commit

Permalink
Remove cgo from crt build script (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonodonnell authored May 8, 2023
1 parent 9b20fbe commit dbddf5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/crt-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -99,4 +99,4 @@ function main() {
esac
}

main "$@"
main "$@"

0 comments on commit dbddf5b

Please sign in to comment.