From a194f0e1490920ceccc27c958e19a8c7f6a39cb8 Mon Sep 17 00:00:00 2001 From: Dan Adams Date: Thu, 12 Sep 2024 10:05:46 -0700 Subject: [PATCH] Checking if this env variable will work --- build/goreleaser/linux/build_legacy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/goreleaser/linux/build_legacy.yml b/build/goreleaser/linux/build_legacy.yml index d619f426f..8a06ac98f 100644 --- a/build/goreleaser/linux/build_legacy.yml +++ b/build/goreleaser/linux/build_legacy.yml @@ -4,6 +4,7 @@ binary: newrelic-infra env: - CGO_ENABLED=1 + - CGO_CFLAGS="-march=zEC12" goos: - linux ldflags: @@ -26,6 +27,7 @@ binary: newrelic-infra-ctl env: - CGO_ENABLED=1 + - CGO_CFLAGS="-march=zEC12" goos: - linux ldflags: @@ -48,6 +50,7 @@ binary: newrelic-infra-service env: - CGO_ENABLED=1 + - CGO_CFLAGS="-march=zEC12" goos: - linux ldflags: