Skip to content

Commit

Permalink
Update mozconfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Mar 2, 2020
1 parent a90242a commit 889f603
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .mozconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,19 @@ export WIN_UCRT_REDIST_DIR="/c/Program Files (x86)/Windows Kits/10/Redist/ucrt/D
elif test `uname -s` = Linux; then
#x86 Specific Options
if test `uname -m` = x86_64; then

if test -d "$HOME/.mozbuild/clang/bin"; then
export CC=$HOME/.mozbuild/clang/bin/clang
export CXX=$HOME/.mozbuild/clang/bin/clang++
else
export CC=clang
export CXX=clang++
fi

if test -f "$HOME/.mozbuild/nasm/nasm"; then
export NASM=$HOME/.mozbuild/nasm/nasm
fi

ac_add_options --enable-optimize="-O2 -march=nocona -mtune=nocona -w"
ac_add_options --target=x86_64-pc-linux-gnu
#ppc64le specific options
Expand Down

0 comments on commit 889f603

Please sign in to comment.