Bug 1042132 - Part 3: Add a MOZCONFIG helper script that lets you pick clang-cl; r=rail
authorEhsan Akhgari <ehsan@mozilla.com>
Sun, 07 Feb 2016 12:02:52 -0500
changeset 329700 18c149301a73a69205c3fb6a07db51d42f78e07b
parent 329699 a21e103469afb5e29f3569b5e83b44805c9713a0
child 329701 e2aa43808183e57e34a38918be7b6ad3bb81e3bd
push id10581
push userbmo:eitan@monotonous.org
push dateTue, 09 Feb 2016 00:25:55 +0000
reviewersrail
bugs1042132
milestone47.0a1
Bug 1042132 - Part 3: Add a MOZCONFIG helper script that lets you pick clang-cl; r=rail
build/mozconfig.clang-cl
new file mode 100644
--- /dev/null
+++ b/build/mozconfig.clang-cl
@@ -0,0 +1,7 @@
+CLANG_DIR=`cd "$topsrcdir/clang/bin" ; pwd`
+export PATH="${CLANG_DIR}:${PATH}"
+
+mk_export_correct_style PATH
+
+export CC=clang-cl
+export CXX=clang-cl