Add symbols back to the build to fix Dynatrace support (#20294)
This commit is contained in:
parent
bebe6dcaa0
commit
1415d47da8
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:improvement
|
||||||
|
Add debug symbols back to builds to fix Dynatrace support
|
||||||
|
```
|
|
@ -159,9 +159,10 @@ function build() {
|
||||||
# Build our ldflags
|
# Build our ldflags
|
||||||
msg="--> Building Vault v$version, revision $revision, built $build_date"
|
msg="--> Building Vault v$version, revision $revision, built $build_date"
|
||||||
|
|
||||||
# Strip the symbol and dwarf information by default
|
# Keep the symbol and dwarf information by default
|
||||||
|
# TODO: maybe add REMOVE_SYMBOLS?
|
||||||
if [ -n "$KEEP_SYMBOLS" ]; then
|
if [ -n "$KEEP_SYMBOLS" ]; then
|
||||||
ldflags=""
|
ldflags="-s -w "
|
||||||
else
|
else
|
||||||
ldflags="-s -w "
|
ldflags="-s -w "
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue