mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
build: build unstripped binaries by default
This commit is contained in:
parent
5c60478953
commit
c6ebc13b43
3
build
3
build
@ -11,8 +11,7 @@ if [ ! -z "$FAILPOINTS" ]; then
|
|||||||
GIT_SHA="$GIT_SHA"-FAILPOINTS
|
GIT_SHA="$GIT_SHA"-FAILPOINTS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set GO_LDFLAGS="" for building with all symbols for debugging.
|
# Set GO_LDFLAGS="-s" for building without symbols for debugging.
|
||||||
if [ -z "${GO_LDFLAGS+x}" ]; then GO_LDFLAGS="-s"; fi
|
|
||||||
GO_LDFLAGS="$GO_LDFLAGS -X ${REPO_PATH}/cmd/vendor/${REPO_PATH}/version.GitSHA=${GIT_SHA}"
|
GO_LDFLAGS="$GO_LDFLAGS -X ${REPO_PATH}/cmd/vendor/${REPO_PATH}/version.GitSHA=${GIT_SHA}"
|
||||||
|
|
||||||
# enable/disable failpoints
|
# enable/disable failpoints
|
||||||
|
Loading…
x
Reference in New Issue
Block a user