fix(release): use prefixed compiler for amd64 (#6853)

if ever planned to release from arm64 this
fix allows to build it as gcc defaults
to host arch

Signed-off-by: Artur Troian <troian.ap@gmail.com>

Signed-off-by: Artur Troian <troian.ap@gmail.com>
This commit is contained in:
Artur Troian 2023-02-12 09:31:54 -05:00 committed by GitHub
parent 80b375b074
commit cf61e6a7d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,8 +34,8 @@ builds:
goos: [ linux ]
goarch: [ amd64 ]
env:
- CC=gcc
- CXX=g++
- CC=x86_64-linux-gnu-gcc
- CXX=x86_64-linux-gnu-g++
tags: [ nosqlite, noboltdb ]
ldflags: -s -w -extldflags "-static" # We need to build a static binary because we are building in a glibc based system and running in a musl container