From c75783737fcf31f8026acc113dd5903c840e8da7 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Tue, 31 Mar 2020 11:19:50 +0200 Subject: fix some env vars for aarch64 builds --- binary_tarball/scripts/4_Build_Binary_Tarball.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'binary_tarball/scripts/4_Build_Binary_Tarball.sh') 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 -- cgit