summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2014-10-18 00:05:26 +0000
committerFilipe Cabecinhas <me@filcab.net>2014-10-18 00:05:26 +0000
commit0f5735965da141de9cbe212b4087a4771c0afd0a (patch)
tree38ed0bf2deed936d890f9cb0a1bd533e20c5853d
parenta6cffdecdeb40ea20163f927780ab25a9569eb4f (diff)
downloadbcm5719-llvm-0f5735965da141de9cbe212b4087a4771c0afd0a.tar.gz
bcm5719-llvm-0f5735965da141de9cbe212b4087a4771c0afd0a.zip
Append the %itanium_abi_host_triple substitution unconditionally
We will fail if it's not set, even if we don't substitute. llvm-svn: 220114
-rw-r--r--clang/test/lit.cfg3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/lit.cfg b/clang/test/lit.cfg
index cb94ce72010..c4ef15d2303 100644
--- a/clang/test/lit.cfg
+++ b/clang/test/lit.cfg
@@ -271,9 +271,8 @@ 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(
OpenPOWER on IntegriCloud