diff --git a/compiler-rt/test/crt/lit.cfg.py b/compiler-rt/test/crt/lit.cfg.py --- a/compiler-rt/test/crt/lit.cfg.py +++ b/compiler-rt/test/crt/lit.cfg.py @@ -23,7 +23,7 @@ def get_library_path(file): cmd = subprocess.Popen([config.clang.strip(), - config.target_cflags.strip(), + config.target_cflags.rstrip(), '-print-file-name=%s' % file], stdout=subprocess.PIPE, env=config.environment, @@ -39,7 +39,7 @@ def get_libgcc_file_name(): cmd = subprocess.Popen([config.clang.strip(), - config.target_cflags.strip(), + config.target_cflags.rstrip(), '-print-libgcc-file-name'], stdout=subprocess.PIPE, env=config.environment,