firefox: build tweaks

This commit is contained in:
Dylan Araps 2020-05-06 20:39:07 +03:00
parent 8a07e47209
commit 51e076cb3c
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -33,12 +33,15 @@ export PATH="$PWD/junk/bin:$PATH"
mkdir -p build mkdir -p build
cd build cd build
export CC="${CC:-gcc}" # Bypass 'ccache' as it's totally useless when building
export CXX="${CXX:-g++}" # 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 LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox"
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
export MOZ_DEBUG_FLAGS=-g0 export MOZ_DEBUG_FLAGS=-g0
export MOZ_NOSPAM=1 export MOZ_NOSPAM=1
export RUSTFLAGS=-Cdebuginfo=0
../configure \ ../configure \
--prefix=/usr \ --prefix=/usr \