2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

CI: Fix debug info for Linux & Windows

This commit is contained in:
2021-04-07 11:12:50 -04:00
parent 87dc66625c
commit ff528f1fa6
4 changed files with 11 additions and 7 deletions

6
ci/split-debug-linux.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash -ex
cd build/Binaries
for f in hecl metaforce-gui metaforce visigen; do
objcopy --only-keep-debug --compress-debug-sections=zlib $f $f.dbg
objcopy --strip-debug --add-gnu-debuglink=$f.dbg $f
done