llvm.org GIT mirror llvm / cfb2d0e
Fixed llvm-build when no targets are enabled git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206627 91177308-0d34-0410-b5e6-96231b3b80d8 Greg Fitzgerald 6 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
718718 enable_targets = available_targets.values()
719719 else:
720720 # We support both space separated and semi-colon separated lists.
721 if ' ' in opts.enable_targets:
721 if opts.enable_targets == '':
722 enable_target_names = []
723 elif ' ' in opts.enable_targets:
722724 enable_target_names = opts.enable_targets.split()
723725 else:
724726 enable_target_names = opts.enable_targets.split(';')