Skip to content

Commit

Permalink
Merge pull request #187 from juanfont/fix-arm64
Browse files Browse the repository at this point in the history
Use CGO_ENABLED=1 when building arm64
  • Loading branch information
juanfont authored Oct 20, 2021
2 parents 03d97c3 + 5159b6d commit e2b5638
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ builds:
- linux
goarch:
- arm64
env:
- CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc-9
main: ./cmd/headscale/headscale.go
mod_timestamp: '{{ .CommitTimestamp }}'
ldflags:
Expand Down

0 comments on commit e2b5638

Please sign in to comment.