Skip to content

Commit

Permalink
Merge pull request #24 from basecamp/trim-paths-in-dist-build
Browse files Browse the repository at this point in the history
Use `-trimpath` on dist builds
  • Loading branch information
kevinmcconnell authored May 1, 2024
2 parents 2cfbe2c + 5337013 commit c19ae78
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 -o dist/thrust-$$platform-$$arch ./cmd/...; \
GOOS=$$platform GOARCH=$$arch go build -trimpath -o dist/thrust-$$platform-$$arch ./cmd/...; \
done \
done

Expand Down

0 comments on commit c19ae78

Please sign in to comment.