From 2fd21ccf6f519b4d936bacf5ce816112e691b515 Mon Sep 17 00:00:00 2001 From: a Date: Mon, 27 Mar 2023 17:05:15 -0500 Subject: [PATCH] hopefully fix --- .goreleaser.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a6cda699d66..c305e2c6392 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -14,7 +14,7 @@ builds: env: - CC=o64-clang - CXX=o64-clang++ - tags: [ nosqlite, noboltdb ] + tags: [ nosqlite, noboltdb, netgo ] ldflags: -s -w - id: darwin-arm64 @@ -25,7 +25,7 @@ builds: env: - CC=oa64-clang - CXX=oa64-clang++ - tags: [ nosqlite, noboltdb ] + tags: [ nosqlite, noboltdb, netgo ] ldflags: -s -w - id: linux-amd64 @@ -36,7 +36,7 @@ builds: env: - CC=x86_64-linux-gnu-gcc - CXX=x86_64-linux-gnu-g++ - tags: [ nosqlite, noboltdb ] + tags: [ nosqlite, noboltdb, netgo ] 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 - id: linux-arm64 @@ -47,7 +47,7 @@ builds: env: - CC=aarch64-linux-gnu-gcc - CXX=aarch64-linux-gnu-g++ - tags: [ nosqlite, noboltdb ] + tags: [ nosqlite, noboltdb, netgo ] 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 - id: windows-amd64 @@ -58,7 +58,7 @@ builds: env: - CC=x86_64-w64-mingw32-gcc - CXX=x86_64-w64-mingw32-g++ - tags: [ nosqlite, noboltdb ] + tags: [ nosqlite, noboltdb, netgo ] ldflags: -s -w