Hush Full Node software. We were censored from Github, this is where all development happens now.
https://hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
381 B
10 lines
381 B
#!/bin/sh
|
|
|
|
if [ $# -ne 3 ];
|
|
then echo "usage: $0 <input> <stripped-binary> <debug-binary>"
|
|
fi
|
|
|
|
/usr/bin/objcopy --enable-deterministic-archives -p --only-keep-debug $1 $3
|
|
/usr/bin/objcopy --enable-deterministic-archives -p --strip-debug $1 $2
|
|
/usr/bin/strip --enable-deterministic-archives -p -s $2
|
|
/usr/bin/objcopy --enable-deterministic-archives -p --add-gnu-debuglink=$3 $2
|
|
|