diff options
author | Jason Molenda <jmolenda@apple.com> | 2014-01-17 20:59:32 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2014-01-17 20:59:32 +0000 |
commit | be1261a1ab058a8d4a27d3c49f7e83fa0571c4b5 (patch) | |
tree | 7665f745e86cc2695b242731af08b1481b480deb /llvm/lib/Object/COFFObjectFile.cpp | |
parent | f3d61de5327caaf5f958046af57abcd128ec4421 (diff) | |
download | llvm-be1261a1ab058a8d4a27d3c49f7e83fa0571c4b5.zip llvm-be1261a1ab058a8d4a27d3c49f7e83fa0571c4b5.tar.gz llvm-be1261a1ab058a8d4a27d3c49f7e83fa0571c4b5.tar.bz2 |
Add -stdlib=c++ to the LDFLAGS when configuring llvm. The lldb
xcode project file sets the MACOSX_DEPLOYMENT_TARGET to 10.7.
llvm/configure (as of r199313) tries to compile a .cpp file which
includes <atomic> with -std=c++0x. If the deployment target is set
to earlier than 10.9 and no C++ library is specified, clang will
error out at this point.
Fixes xcode building of lldb on Mac OS X. If this change causes
problems for any of the other build workflows, please let me know
and I'll fix it.
llvm-svn: 199511
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions