Skip to content

Commit

Permalink
build: build unstripped binaries by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Vetoshkin committed Oct 19, 2016
1 parent 5c60478 commit c6ebc13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6ebc13

Please sign in to comment.