Skip to content

Commit

Permalink
use musl for 386 & explicitly set cc for darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-zorn committed Aug 10, 2024
1 parent 476dcbe commit 07a91f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ builds:
env:
- CGO_ENABLED=1
- >-
{{- if eq .Os "darwin" }}CC={{- end }}
{{- if eq .Os "darwin" }}CC=o64-clang{{- end }}
{{- if eq .Os "windows" }}CC={{- end }}
{{- if eq .Os "linux" }}
{{- if eq .Arch "386"}}CC=musl-gcc{{- end }}
{{- if eq .Arch "amd64"}}CC=musl-gcc{{- end }}
{{- if eq .Arch "arm64"}}CC=aarch64-linux-musl-gcc{{- end }}
{{- end }}
Expand Down

0 comments on commit 07a91f3

Please sign in to comment.