Skip to content

Commit

Permalink
backport of commit 33cd7f4 (hashicorp#20298)
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Swenson <christopher.swenson@hashicorp.com>
  • Loading branch information
hc-github-team-secure-vault-core and Christopher Swenson committed Apr 21, 2023
1 parent 9ad11f8 commit a764186
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog/20294.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
Add debug symbols back to builds to fix Dynatrace support
```
5 changes: 3 additions & 2 deletions scripts/ci-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,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
Expand Down

0 comments on commit a764186

Please sign in to comment.