From 129e12d7685a6ea99fde514ad104a0368a19033d Mon Sep 17 00:00:00 2001 From: David Timber Date: Sat, 4 Jan 2020 09:05:45 +1100 Subject: musl + mbedtls! --- scripts/xcomp.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'scripts/xcomp.sh') diff --git a/scripts/xcomp.sh b/scripts/xcomp.sh index 8790696..ac4bf26 100755 --- a/scripts/xcomp.sh +++ b/scripts/xcomp.sh @@ -1,8 +1,10 @@ #!/bin/bash -OUT="$PROONE_BIN_PREFIX.$PROONE_BIN_ARCH" +BIN_ORG="$PROONE_ORG_BIN_PREFIX.$PROONE_BIN_ARCH" +BIN_REL="$PROONE_REL_BIN_PREFIX.$PROONE_BIN_ARCH" ./configure --host="$PROONE_HOST" $PROONE_AM_CONF &&\ 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" &&\ + cp -a src/proone "$BIN_ORG" &&\ + cp -a src/proone "$BIN_REL" &&\ + "$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 "$BIN_REL" &&\ make distclean -- cgit