summaryrefslogtreecommitdiffstats
path: root/build/mozconfig.lld-link
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build/mozconfig.lld-link6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/mozconfig.lld-link b/build/mozconfig.lld-link
new file mode 100644
index 0000000000..89f91930e7
--- /dev/null
+++ b/build/mozconfig.lld-link
@@ -0,0 +1,6 @@
+if test -d "$MOZ_FETCHES_DIR/clang/bin"; then
+ CLANG_DIR=`cd "$MOZ_FETCHES_DIR/clang/bin" ; pwd`
+ export PATH="${CLANG_DIR}:${PATH}"
+fi
+
+export LINKER=lld-link