From 51e076cb3cb748bd1a4e60297f6d86960ead9fbf Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 6 May 2020 20:39:07 +0300 Subject: [PATCH] firefox: build tweaks --- extra/firefox/build | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/extra/firefox/build b/extra/firefox/build index a9535b69..9837252c 100755 --- a/extra/firefox/build +++ b/extra/firefox/build @@ -33,12 +33,15 @@ export PATH="$PWD/junk/bin:$PATH" mkdir -p build cd build -export CC="${CC:-gcc}" -export CXX="${CXX:-g++}" +# Bypass 'ccache' as it's totally useless when building +# Firefox and only slows things down. +export CC="${CC:-/usr/bin/gcc}" +export CXX="${CXX:-/usr/bin/g++}" + export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox" +export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0" export MOZ_DEBUG_FLAGS=-g0 export MOZ_NOSPAM=1 -export RUSTFLAGS=-Cdebuginfo=0 ../configure \ --prefix=/usr \