metaforce/ci/split-debug-linux.sh

6 lines
211 B
Bash
Raw Normal View History

2021-04-07 15:12:50 +00:00
#!/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