summaryrefslogtreecommitdiffstats
path: root/lldb/test/lldbtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lldbtest.py')
-rw-r--r--lldb/test/lldbtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index 9b5270b5cd3..7a2b67a1b28 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -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++"
OpenPOWER on IntegriCloud