From: Filipe Cabecinhas Date: Thu, 16 Oct 2014 23:54:26 +0000 (+0000) Subject: Appease the buildbots with the special case for non-set variables X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f488f1737fbdacefeada5abd141ea78be29cef93;p=clang 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 --- 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(