about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-03-28 18:19:14 -0700
committerBrian Anderson <banderson@mozilla.com>2013-03-29 11:23:15 -0700
commitdd088afd4323cbaad3c6e3692e7d52658d1f2de6 (patch)
tree320b12384d0218b628a985f6c3f768eee7051469
parent943d7adedc2401b54e103ea3635d0e50b1822d5a (diff)
downloadrust-dd088afd4323cbaad3c6e3692e7d52658d1f2de6.tar.gz
rust-dd088afd4323cbaad3c6e3692e7d52658d1f2de6.zip
Stop building clang
Removing it from the tree is an ordeal and there is no official way
to disable clang via LLVM's Makefiles so this edits the Makefile
in llvm/tools after running configure.
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 287705a0e58..71beb8214b9 100755
--- a/configure
+++ b/configure
@@ -881,6 +881,10 @@ do
                 ;;
         esac
         need_ok "LLVM configure failed"
+
+        # Hack the tools Makefile to turn off the clang build
+        sed -i 's/clang//g' tools/Makefile
+
         cd $CFG_BUILD_DIR
     fi