Merge pull request #187 from juanfont/fix-arm64

Use CGO_ENABLED=1 when building arm64
This commit is contained in:
Juan Font 2021-10-21 00:00:47 +02:00 committed by GitHub
commit e2b5638ca0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: