[Lldb-commits] [lldb] r163639 - /lldb/trunk/Makefile
Filipe Cabecinhas
me at filcab.net
Tue Sep 11 11:11:09 PDT 2012
Author: filcab
Date: Tue Sep 11 13:11:09 2012
New Revision: 163639
URL: http://llvm.org/viewvc/llvm-project?rev=163639&view=rev
Log:
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.
Modified:
lldb/trunk/Makefile
Modified: lldb/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/Makefile?rev=163639&r1=163638&r2=163639&view=diff
==============================================================================
--- lldb/trunk/Makefile (original)
+++ lldb/trunk/Makefile Tue Sep 11 13:11:09 2012
@@ -57,6 +57,10 @@
# 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
More information about the lldb-commits
mailing list