From 5f341e4c20767f08165776bdf559b096dc8996e9 Mon Sep 17 00:00:00 2001 From: David Timber Date: Fri, 27 Dec 2019 18:22:18 +1100 Subject: initial commit --- scripts/xcomp.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/xcomp.sh (limited to 'scripts/xcomp.sh') diff --git a/scripts/xcomp.sh b/scripts/xcomp.sh new file mode 100755 index 0000000..2ff24a5 --- /dev/null +++ b/scripts/xcomp.sh @@ -0,0 +1,8 @@ +#!/bin/bash +OUT="$PROONE_BIN_PREFIX.$PROONE_BIN_ARCH" + +./configure --host="$PROONE_HOST" &&\ + make -j$(nproc) &&\ + cp -a src/proone "$OUT" &&\ + "$PROONE_HOST-strip" -S --strip-unneeded --remove-section=.note.gnu.gold-version --remove-section=.comment --remove-section=.note --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag --remove-section=.jcr --remove-section=.got.plt --remove-section=.eh_frame --remove-section=.eh_frame_ptr --remove-section=.eh_frame_hdr "$OUT" &&\ + make distclean -- cgit