From ba0eac153a4e3a9aa99bdbf24f62638af2087b05 Mon Sep 17 00:00:00 2001 From: Bharath B Date: Wed, 8 Nov 2017 18:23:08 +0530 Subject: [PATCH] Remove symbols from vault binary (#3369) --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index c5ac44d275..35596244b6 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -48,7 +48,7 @@ echo "==> Building..." gox \ -osarch="${XC_OSARCH}" \ -gcflags "${GCFLAGS}" \ - -ldflags "-X github.com/hashicorp/vault/version.GitCommit='${GIT_COMMIT}${GIT_DIRTY}'" \ + -ldflags "${LD_FLAGS}-X github.com/hashicorp/vault/version.GitCommit='${GIT_COMMIT}${GIT_DIRTY}'" \ -output "pkg/{{.OS}}_{{.Arch}}/vault" \ -tags="${BUILD_TAGS}" \ .