From c3dc89e4ab37b93c6934759789f48b062db7f120 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 12 Oct 2016 01:19:16 +0000 Subject: [PATCH] Fix libc++abi test config after recent libc++ changes llvm-svn: 283962 --- libcxxabi/test/libcxxabi/test/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libcxxabi/test/libcxxabi/test/config.py b/libcxxabi/test/libcxxabi/test/config.py index 8b585eb..1713ba9 100644 --- a/libcxxabi/test/libcxxabi/test/config.py +++ b/libcxxabi/test/libcxxabi/test/config.py @@ -55,6 +55,10 @@ class Configuration(LibcxxConfiguration): cxx_headers = self.get_lit_conf( 'cxx_headers', os.path.join(self.libcxx_src_root, '/include')) + if cxx_headers == '': + self.lit_config.note('using the systems c++ headers') + else: + self.cxx.compile_flags += ['-nostdinc++'] if not os.path.isdir(cxx_headers): self.lit_config.fatal("cxx_headers='%s' is not a directory." % cxx_headers) -- 2.7.4