Use c++11 and libc++ and it's headers, instead of gnu's libstdcpp

Unbreaks the build on FreeBSD

People that are using Linux: if you have any problems with this patch
please let me know, and tell us how you are compiling lldb with the
makefiles.

llvm-svn: 163639
This commit is contained in:
Filipe Cabecinhas 2012-09-11 18:11:09 +00:00
parent b4cb0be3b7
commit ae78ce43c9
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,10 @@ endif
# We can revisit this when LLVM/Clang support it.
CXX.Flags += -fno-strict-aliasing
# Use c++11 and libc++ and it's headers, instead of gnu's libstdcpp
CXX.Flags += -std=c++11
CXX.Flags += -stdlib=libc++
# Do not warn about pragmas. In particular, we are looking to ignore the
# "#pragma mark" construct which GCC warns about on platforms other than Darwin.
EXTRA_OPTIONS += -Wno-unknown-pragmas