Skip to content

Commit

Permalink
Fix FreeBSD build (was building Linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
wrouesnel committed May 12, 2022
1 parent 5f8cd1a commit 821b21f
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 @@ -48,7 +48,7 @@ p2-darwin-arm64:
-o $@ ./cmd/p2

p2-freebsd-x86_64:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a \
CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go build -a \
-ldflags "-extldflags '-static' -X main.Version=$(shell git describe --long --dirty)" \
-o $@ ./cmd/p2

Expand Down

0 comments on commit 821b21f

Please sign in to comment.