Skip to content

Commit

Permalink
Add cross-compiler env var
Browse files Browse the repository at this point in the history
  • Loading branch information
suprjinx committed Jul 17, 2023
1 parent 0e6cb54 commit c1b3688
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ project_name: fasttrackml
builds:
- env:
- CGO_ENABLED=1
- CC_FOR_TARGET=aarch64-linux-gnu-gcc
ldflags:
- -linkmode external -extldflags '-static' -s -w -X github.com/G-Research/fasttrackml/version.version={{.Version}}
goos:
Expand Down

0 comments on commit c1b3688

Please sign in to comment.