[Lldb-commits] [lldb] r200646 - Use libc++ on FreeBSD as on Darwin
Ed Maste
emaste at freebsd.org
Sun Feb 2 11:24:15 PST 2014
Author: emaste
Date: Sun Feb 2 13:24:15 2014
New Revision: 200646
URL: http://llvm.org/viewvc/llvm-project?rev=200646&view=rev
Log:
Use libc++ on FreeBSD as on Darwin
This could use some refinement still, but the previous behaviour of adding
-stdlib=libstc++ on FreeBSD w/ Clang is the least likely case to work.
llvm.org/pr17910
Modified:
lldb/trunk/test/lldbtest.py
Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=200646&r1=200645&r2=200646&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Sun Feb 2 13:24:15 2014
@@ -1511,7 +1511,7 @@ class Base(unittest2.TestCase):
cflags += "c++0x"
else:
cflags += "c++11"
- if sys.platform.startswith("darwin"):
+ if sys.platform.startswith("darwin") or sys.platform.startswith("freebsd"):
cflags += " -stdlib=libc++"
elif "clang" in self.getCompiler():
cflags += " -stdlib=libstdc++"
More information about the lldb-commits
mailing list