forked from OSchip/llvm-project
[libc++] Avoid -Wmacro-redefined in libc++ headers in the legacy test config
This commit is contained in:
parent
57f7c7d90e
commit
eceb40183c
|
@ -308,8 +308,8 @@ class Configuration(object):
|
|||
if triple is not None:
|
||||
cxx_target_headers = os.path.join(path, triple, cxx, version)
|
||||
if os.path.isdir(cxx_target_headers):
|
||||
self.cxx.compile_flags += ['-I' + cxx_target_headers]
|
||||
self.cxx.compile_flags += ['-I' + cxx_headers]
|
||||
self.cxx.compile_flags += ['-isystem ' + cxx_target_headers]
|
||||
self.cxx.compile_flags += ['-isystem ' + cxx_headers]
|
||||
if self.libcxx_obj_root is not None:
|
||||
cxxabi_headers = os.path.join(self.libcxx_obj_root, 'include',
|
||||
'c++build')
|
||||
|
|
Loading…
Reference in New Issue