mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
Add symbols back to the build to fix Dynatrace support (#20294)
This commit is contained in:
committed by
GitHub
parent
7baf2418f7
commit
33cd7f4b13
3
changelog/20294.txt
Normal file
3
changelog/20294.txt
Normal file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user