aboutsummaryrefslogtreecommitdiff
path: root/binary_tarball/scripts/4_Build_Binary_Tarball.sh
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-31 11:19:50 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-31 11:19:50 +0200
commitc75783737fcf31f8026acc113dd5903c840e8da7 (patch)
treec830cf17a017c84e143455e8758fc03099975b7e /binary_tarball/scripts/4_Build_Binary_Tarball.sh
parentgenerate appstream metadata (diff)
downloadlibrewolf-linux-c75783737fcf31f8026acc113dd5903c840e8da7.tar.gz
librewolf-linux-c75783737fcf31f8026acc113dd5903c840e8da7.tar.bz2
librewolf-linux-c75783737fcf31f8026acc113dd5903c840e8da7.zip
fix some env vars for aarch64 builds
Diffstat (limited to 'binary_tarball/scripts/4_Build_Binary_Tarball.sh')
-rwxr-xr-xbinary_tarball/scripts/4_Build_Binary_Tarball.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/binary_tarball/scripts/4_Build_Binary_Tarball.sh b/binary_tarball/scripts/4_Build_Binary_Tarball.sh
index 755bb1a..448bd80 100755
--- a/binary_tarball/scripts/4_Build_Binary_Tarball.sh
+++ b/binary_tarball/scripts/4_Build_Binary_Tarball.sh
@@ -33,7 +33,11 @@ export MOZ_NOSPAM=1
export MOZBUILD_STATE_PATH="${_MOZBUILD}"
if [[ $CARCH == 'aarch64' ]]; then
- LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+ export MOZ_DEBUG_FLAGS=" "
+ export CFLAGS+=" -g0"
+ export CXXFLAGS+=" -g0"
+ export RUSTFLAGS="-Cdebuginfo=0"
+ export LDFLAGS+=" -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
fi
# LTO needs more open files
bgstack15