From 5159b6d08586e3b28f448b57495433f9a27e9a48 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Wed, 20 Oct 2021 23:10:59 +0200 Subject: [PATCH] Trying to fix arm64 --- .goreleaser.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index f7355104..7c5e853b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: