tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

mozconfig.unix (764B)


      1 . "$topsrcdir/build/mozconfig.common"
      2 
      3 if [ -n "$FORCE_GCC" ]; then
      4     CC="$MOZ_FETCHES_DIR/gcc/bin/gcc"
      5     CXX="$MOZ_FETCHES_DIR/gcc/bin/g++"
      6 
      7     # We want to make sure we use binutils and other binaries in the tooltool
      8     # package.
      9     mk_add_options "export PATH=$MOZ_FETCHES_DIR/gcc/bin:$MOZ_FETCHES_DIR/binutils/bin:$PATH"
     10 else
     11     # For some builds we don't want to have Clang based static-analysis activated
     12     if [ -z "$DISABLE_CLANG_PLUGIN" ]; then
     13         export ENABLE_CLANG_PLUGIN=1
     14     fi
     15 
     16     export CFLAGS="$CFLAGS -fcrash-diagnostics-dir=${UPLOAD_PATH}"
     17     export CXXFLAGS="$CXXFLAGS -fcrash-diagnostics-dir=${UPLOAD_PATH}"
     18 
     19     mk_add_options "export PATH=$MOZ_FETCHES_DIR/binutils/bin:$PATH"
     20 fi
     21 
     22 . "$topsrcdir/build/unix/mozconfig.stdcxx"