build/mozconfig.clang-cl
author Tom Ritter <tom@mozilla.com>
Sat, 19 May 2018 01:26:33 -0500
changeset 475965 bf7ac536eb942fe12ef60f082f20ce30f0ec75a3
parent 396873 bc2f8a0c7d9a6aa5d683b1826c6c2d40c4d7ef48
child 487477 2011dae40293da2aceba942e8c7d95d0a4dfffbf
permissions -rw-r--r--
Bug 1457162 Remove -TC from CFLAGS r=ted -TC specifies 'treat all inputs at C files' which breaks things when you specify a @list file of inputs. During configure, -TP is required for C++ configure checks (although we could probably make it smart and not need it at all), but -TC does not seem to be required. MozReview-Commit-ID: DNA8vUMdIXb

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

    mk_export_correct_style PATH
fi

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