[libc++] Avoid -Wmacro-redefined in libc++ headers in the legacy test config

This commit is contained in:
Louis Dionne 2022-02-09 08:38:06 -05:00
parent 57f7c7d90e
commit eceb40183c
1 changed files with 2 additions and 2 deletions

View File

@ -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')