1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-13 16:44:04 +01:00

Crashreporting

This commit is contained in:
Vitaly Sverchinsky
2021-05-04 21:43:19 +03:00
parent 5c05f6b421
commit e8b186a9b4
24 changed files with 1363 additions and 19 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -x
objcopy --only-keep-debug --compress-debug-section=zlib "${1}" "${1}.debug"
if [ -f "${1}.debug" ]; then
objcopy --strip-debug --strip-unneeded "${1}"
objcopy --add-gnu-debuglink="${1}.debug" "${1}"
fi