Fix check for supported targets in llvm-c lit.local.cfg

llvm-svn: 193235
This commit is contained in:
Anders Waldenborg 2013-10-23 08:47:52 +00:00
parent 2346c7a511
commit 49416cf126
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
targets = set(config.root.targets_to_build.split())
if not (targets & set(["X86", "ARM"])):
if not "X86" in targets:
config.unsupported = True
if not "ARM" in targets:
config.unsupported = True