build/mozconfig.clang-cl
author Franziskus Kiefer <franziskuskiefer@gmail.com>
Tue, 02 Oct 2018 14:59:34 +0200
changeset 439251 432a98e50d2bfab224328254266069aef1a474cc
parent 429862 084b1e903489a2c5643f99da82b2c788f786bd61
child 441779 60d974e18e6ac10231d7105582c026fc74e16a69
permissions -rw-r--r--
Bug 1479787 - use NSS mozpkix in Firefox, r=mt,keeler,glandium Differential Revision: https://phabricator.services.mozilla.com/D2725 Differential Revision: https://phabricator.services.mozilla.com/D2860

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