[libc++] Try to fix the quoting of -isystem on Windows bots
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 9 Feb 2022 15:07:27 +0000 (10:07 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 9 Feb 2022 15:08:12 +0000 (10:08 -0500)
libcxx/utils/libcxx/test/config.py

index a20ee6f..ef4e07c 100644 (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 += ['-isystem ' + cxx_target_headers]
-        self.cxx.compile_flags += ['-isystem ' + 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')