From c6ebc13b43aa187b11ec4495c37642a74a2d2479 Mon Sep 17 00:00:00 2001 From: Nikita Vetoshkin Date: Wed, 19 Oct 2016 11:15:38 +0500 Subject: [PATCH] build: build unstripped binaries by default --- build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build b/build index 4d2242eed92..b1fc8d43b97 100755 --- a/build +++ b/build @@ -11,8 +11,7 @@ if [ ! -z "$FAILPOINTS" ]; then GIT_SHA="$GIT_SHA"-FAILPOINTS fi -# Set GO_LDFLAGS="" for building with all symbols for debugging. -if [ -z "${GO_LDFLAGS+x}" ]; then GO_LDFLAGS="-s"; fi +# Set GO_LDFLAGS="-s" for building without symbols for debugging. GO_LDFLAGS="$GO_LDFLAGS -X ${REPO_PATH}/cmd/vendor/${REPO_PATH}/version.GitSHA=${GIT_SHA}" # enable/disable failpoints