mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 09:00:10 +00:00
goreleaser: support building on non-x86-64 host
jfa-go-build-docker is now built for an arm64 host primarily, and the manually specified x86-64 (cross)compiler and pkg-config means compilation will work on it (or another architecture in future).
This commit is contained in:
parent
6b576f2ffe
commit
ec2f826dec
@ -80,6 +80,9 @@ builds:
|
|||||||
dir: ./
|
dir: ./
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=1
|
- CGO_ENABLED=1
|
||||||
|
- CC=x86_64-linux-gnu-gcc
|
||||||
|
- CXX=x86_64-linux-gnu-gcc
|
||||||
|
- PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH
|
||||||
flags:
|
flags:
|
||||||
- -tags=tray
|
- -tags=tray
|
||||||
ldflags:
|
ldflags:
|
||||||
|
Loading…
Reference in New Issue
Block a user