mirror of
https://github.com/dashpay/dash.git
synced 2024-12-30 14:25:53 +01:00
11 lines
353 B
Bash
11 lines
353 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ $# -ne 3 ];
|
||
|
then echo "usage: $0 <input> <stripped-binary> <debug-binary>"
|
||
|
fi
|
||
|
|
||
|
@OBJCOPY@ --enable-deterministic-archives -p --only-keep-debug $1 $3
|
||
|
@OBJCOPY@ --enable-deterministic-archives -p --strip-debug $1 $2
|
||
|
@STRIP@ --enable-deterministic-archives -p -s $2
|
||
|
@OBJCOPY@ --enable-deterministic-archives -p --add-gnu-debuglink=$3 $2
|