aboutsummaryrefslogtreecommitdiff
path: root/binary_tarball/scripts/4_Build_Binary_Tarball.sh
diff options
context:
space:
mode:
Diffstat (limited to 'binary_tarball/scripts/4_Build_Binary_Tarball.sh')
-rwxr-xr-xbinary_tarball/scripts/4_Build_Binary_Tarball.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/binary_tarball/scripts/4_Build_Binary_Tarball.sh b/binary_tarball/scripts/4_Build_Binary_Tarball.sh
index ad9cf0f..cad87a0 100755
--- a/binary_tarball/scripts/4_Build_Binary_Tarball.sh
+++ b/binary_tarball/scripts/4_Build_Binary_Tarball.sh
@@ -1,6 +1,8 @@
#!/bin/bash
printf "\n\n--------------------------------------- BUILD -----------------------------------------------\n";
+set -e
+
# Setup Script Variables
srcdir=$1;
OUTPUT_TARBALL=$2;
@@ -37,7 +39,7 @@ if [[ $CARCH == 'aarch64' ]]; then
export CFLAGS+=" -g0"
export CXXFLAGS+=" -g0"
export RUSTFLAGS="-Cdebuginfo=0"
- export LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+ export LDFLAGS+=" -Wl,--no-keep-memory -Wl"
fi
# LTO needs more open files
bgstack15