diff options
| author | Ed Maste <emaste@freebsd.org> | 2014-02-02 19:24:15 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2014-02-02 19:24:15 +0000 |
| commit | dbd5950b633a26d8dcc8415e0ebf9eb25e355cff (patch) | |
| tree | de9a66fd331aae9b791f3e55393c234ed192ac7c /lldb/test | |
| parent | 85d65ff49b65f74275d96021ad50456f82043503 (diff) | |
| download | bcm5719-llvm-dbd5950b633a26d8dcc8415e0ebf9eb25e355cff.tar.gz bcm5719-llvm-dbd5950b633a26d8dcc8415e0ebf9eb25e355cff.zip | |
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
llvm-svn: 200646
Diffstat (limited to 'lldb/test')
| -rw-r--r-- | lldb/test/lldbtest.py | 2 |
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++" |

