forked from OSchip/llvm-project
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:
parent
b4cb0be3b7
commit
ae78ce43c9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue