build: add armhf/aarch64 gitian builds

This commit is contained in:
Cory Fields
2016-06-10 02:56:42 -04:00
committed by lateminer
parent 14fd911134
commit 2f761976bb
3 changed files with 43 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
#!/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