From f488f1737fbdacefeada5abd141ea78be29cef93 Mon Sep 17 00:00:00 2001 From: Filipe Cabecinhas Date: Thu, 16 Oct 2014 23:54:26 +0000 Subject: [PATCH] Appease the buildbots with the special case for non-set variables git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219994 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/lit.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/lit.cfg b/test/lit.cfg index c4ef15d230..cb94ce7201 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -271,8 +271,9 @@ config.substitutions.append( ('%clangxx', ' ' + config.clang + config.substitutions.append( ('%clang', ' ' + config.clang + ' ') ) config.substitutions.append( ('%test_debuginfo', ' ' + config.llvm_src_root + '/utils/test_debuginfo.pl ') ) config.substitutions.append( ('%itanium_abi_triple', makeItaniumABITriple(config.target_triple)) ) -config.substitutions.append( ('%itanium_abi_host_triple', makeItaniumABITriple(config.host_triple)) ) config.substitutions.append( ('%ms_abi_triple', makeMSABITriple(config.target_triple)) ) +if config.host_triple != '@LLVM_HOST_TRIPLE@': + config.substitutions.append( ('%itanium_abi_host_triple', makeItaniumABITriple(config.host_triple)) ) # FIXME: Find nicer way to prohibit this. config.substitutions.append( -- 2.50.1