Skip to content

Commit

Permalink
Remove CGO from linux-arm64 target
Browse files Browse the repository at this point in the history
  • Loading branch information
bahner committed Apr 7, 2024
1 parent c4c08cf commit babefba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,7 @@ linux-amd64: $(RELEASES)

linux-arm64: GOOS=linux
linux-arm64: GOARCH=arm64
linux-arm64: CGO_ENABLED=1
linux-arm64: CC=aarch64-linux-musl-gcc
linux-arm64: CGO_CFLAGS="-fPIC"
linux-arm64: CGO_LDFLAGS="-static"
linux-arm64: FILENAME = $(RELEASES)/$(NAME)-$(GOOS)-$(GOARCH)
linux-arm64: $(RELEASES)
$(GO) build -o $(FILENAME) $(BUILDFLAGS) ./cmd/actor
Expand Down

0 comments on commit babefba

Please sign in to comment.