build/mozconfig.clang-cl
author shindli <shindli@mozilla.com>
Fri, 14 Sep 2018 16:35:23 +0300
changeset 494772 c5fbbf959e23a4f33d450cb6c64ef739e09fbe13
parent 487602 084b1e903489a2c5643f99da82b2c788f786bd61
child 500301 60d974e18e6ac10231d7105582c026fc74e16a69
permissions -rw-r--r--
Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout

if test -d "$topsrcdir/clang/bin"; then
    CLANG_DIR=`cd "$topsrcdir/clang/bin" ; pwd`
    export PATH="${CLANG_DIR}:${PATH}"
    mk_export_correct_style PATH

    if $(cd $topsrcdir/clang/lib/clang/* && test -d lib/windows); then
        CLANG_LIB_DIR="$(cd $topsrcdir/clang/lib/clang/* && cd lib/windows && pwd)"
        export LIB=$LIB:$CLANG_LIB_DIR
        mk_export_correct_style LIB
    fi
fi

export CC=clang-cl
export CXX=clang-cl