From a184df8d303deeba875354474921723ade2c1a84 Mon Sep 17 00:00:00 2001 From: RutsuKun Date: Tue, 5 Dec 2023 16:25:21 +0100 Subject: [PATCH] CI: add CGO_LDFLAGS env var in build-server.yml --- .github/workflows/build-server.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-server.yml b/.github/workflows/build-server.yml index ef402e6..42d4aba 100644 --- a/.github/workflows/build-server.yml +++ b/.github/workflows/build-server.yml @@ -1,5 +1,7 @@ name: Build Server on: [push, pull_request, workflow_dispatch] +env: + CGO_LDFLAGS: -Wl,--no-as-needed jobs: build: runs-on: ${{matrix.os}}