aboutsummaryrefslogtreecommitdiff
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/lit.cfg.py2
-rw-r--r--llvm/test/lit.site.cfg.py.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index bd6e37c..1076456 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -63,7 +63,7 @@ llvm_config.with_environment("OCAMLRUNPARAM", "b")
def get_asan_rtlib():
if (
not "Address" in config.llvm_use_sanitizer
- or not "Darwin" in config.host_os
+ or not "Darwin" in config.target_os
or not "x86" in config.host_triple
):
return ""
diff --git a/llvm/test/lit.site.cfg.py.in b/llvm/test/lit.site.cfg.py.in
index caee6c1..ee76beb 100644
--- a/llvm/test/lit.site.cfg.py.in
+++ b/llvm/test/lit.site.cfg.py.in
@@ -26,7 +26,7 @@ config.enable_assertions = @ENABLE_ASSERTIONS@
config.targets_to_build = "@TARGETS_TO_BUILD@"
config.native_target = "@LLVM_NATIVE_ARCH@"
config.llvm_bindings = "@LLVM_BINDINGS@".split(' ')
-config.host_os = "@HOST_OS@"
+config.target_os = "@HOST_OS@"
config.host_cc = "@HOST_CC@"
config.host_cxx = "@HOST_CXX@"
# Note: ldflags can contain double-quoted paths, so must use single quotes here.