projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff62b1
)
Fix libc++abi test config after recent libc++ changes
author
Eric Fiselier
<eric@efcs.ca>
Wed, 12 Oct 2016 01:19:16 +0000
(
01:19
+0000)
committer
Eric Fiselier
<eric@efcs.ca>
Wed, 12 Oct 2016 01:19:16 +0000
(
01:19
+0000)
llvm-svn: 283962
libcxxabi/test/libcxxabi/test/config.py
patch
|
blob
|
history
diff --git
a/libcxxabi/test/libcxxabi/test/config.py
b/libcxxabi/test/libcxxabi/test/config.py
index
8b585eb
..
1713ba9
100644
(file)
--- 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)