firefox: revert clang change

This commit is contained in:
Dylan Araps 2021-07-01 12:51:27 +00:00
parent a81b073a03
commit 6ca2abcf2f
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -34,9 +34,10 @@ sed -i '/net\/if/d' \
)
export PATH="$PWD/junk/bin:$PATH"
# Force clang for builds.
export CC="${CC:-clang}"
export CXX="${CXX:-clang++}"
# Bypass 'ccache' as it's totally useless when building
# Firefox and only slows things down.
export CC="${CC:-/usr/bin/cc}"
export CXX="${CXX:-/usr/bin/c++}"
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox"
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"