diff options
Diffstat (limited to 'libcxx/utils')
-rw-r--r-- | libcxx/utils/libcxx/test/config.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index aba1ada9064..a16bbdef5c4 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -547,10 +547,10 @@ class Configuration(object): self.cxx.flags += ['-v'] sysroot = self.get_lit_conf('sysroot') if sysroot: - self.cxx.flags += ['--sysroot', sysroot] + self.cxx.flags += ['--sysroot=' + sysroot] gcc_toolchain = self.get_lit_conf('gcc_toolchain') if gcc_toolchain: - self.cxx.flags += ['-gcc-toolchain', gcc_toolchain] + self.cxx.flags += ['--gcc-toolchain=' + gcc_toolchain] # NOTE: the _DEBUG definition must preceed the triple check because for # the Windows build of libc++, the forced inclusion of a header requires # that _DEBUG is defined. Incorrect ordering will result in -target @@ -559,8 +559,8 @@ class Configuration(object): self.cxx.compile_flags += ['-D_DEBUG'] if self.use_target: if not self.cxx.addFlagIfSupported( - ['-target', self.config.target_triple]): - self.lit_config.warning('use_target is true but -target is '\ + ['--target=' + self.config.target_triple]): + self.lit_config.warning('use_target is true but --target is '\ 'not supported by the compiler') if self.use_deployment: arch, name, version = self.config.deployment |