Skip to content

Commit

Permalink
Avoid runtime glibc dependency in dist builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmcconnell committed Jan 6, 2025
1 parent 0ee41dd commit 19ecbab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build:
dist:
@for platform in $(PLATFORMS); do \
for arch in $(ARCHITECTURES); do \
GOOS=$$platform GOARCH=$$arch go build -trimpath -o dist/thrust-$$platform-$$arch ./cmd/...; \
GOOS=$$platform GOARCH=$$arch CGO_ENABLED=0 go build -trimpath -o dist/thrust-$$platform-$$arch ./cmd/...; \
done \
done

Expand Down

0 comments on commit 19ecbab

Please sign in to comment.