about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-04-14 09:49:34 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-04-17 11:11:39 -0700
commit32a81d1e161a8b4a498c88ddb79955775d18fbfd (patch)
tree63c802362f6a81e094f416faa3f6b57c8fd6cfc2 /src/rustllvm/ExecutionEngineWrapper.cpp
parent30ff17f809869dec37d7b501fb532dc88fd47832 (diff)
downloadrust-32a81d1e161a8b4a498c88ddb79955775d18fbfd.tar.gz
rust-32a81d1e161a8b4a498c88ddb79955775d18fbfd.zip
configure: Enable libc++ with LLVM with clang
When clang is enabled, also pass through --enable-libcpp to LLVM's configure
command line to help it pick up the most recent c++ runtime library. This also
changes the mklldeps.py script to pick up on whether LLVM was linked against
stdc++ or c++ based on the --cxxflags that llvm-config prints.

In an ongoing attempt to update LLVM, the bots need to update their C compilers
to something that supports c++11 (LLVM recently switched). The OSX bots are
running Lion (10.7), which only supports up to gcc 4.2 and clang 3.2. Apparently
the libstdc++ is too old (even on the most updated command line tools) for LLVM,
but using libc++ instead appears to work just fine.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions