build: build unstripped binaries by default

release-3.1
Nikita Vetoshkin 2016-10-19 11:15:38 +05:00
parent 5c60478953
commit c6ebc13b43
1 changed files with 1 additions and 2 deletions

3
build
View File

@ -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