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
|
||||
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
|
||||
ldflags=""
|
||||
ldflags="-s -w "
|
||||
else
|
||||
ldflags="-s -w "
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue