mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-03 20:40:45 -05:00
Add symbols back to the build to fix Dynatrace support (#20294)
This commit is contained in:
parent
7baf2418f7
commit
33cd7f4b13
2 changed files with 6 additions and 2 deletions
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue