From 178e0f94cf349cd7b2a41c31acfb9443eb613500 Mon Sep 17 00:00:00 2001 From: Justin Kolberg Date: Wed, 27 Nov 2024 08:46:03 -0800 Subject: [PATCH] set LDFLAGS, not EXTRA_LDFLAGS Signed-off-by: Justin Kolberg --- .github/workflows/workflow-build-otelcol-config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow-build-otelcol-config.yml b/.github/workflows/workflow-build-otelcol-config.yml index 4bec7062e1..8fa48fde75 100644 --- a/.github/workflows/workflow-build-otelcol-config.yml +++ b/.github/workflows/workflow-build-otelcol-config.yml @@ -105,7 +105,7 @@ jobs: FIPS_SUFFIX="-fips" \ CGO_ENABLED="1" \ CC="$CC" \ - EXTRA_LDFLAGS="-linkmode external -extldflags '-static'" + LDFLAGS="-linkmode external -extldflags '-static'" working-directory: ./pkg/tools/otelcol-config - name: Set binary name