mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 05:56:28 +00:00
Fixed llvm-build when no targets are enabled
llvm-svn: 206627
This commit is contained in:
parent
b881681eb9
commit
2210a631f0
@ -719,7 +719,9 @@ def add_magic_target_components(parser, project, opts):
|
||||
enable_targets = available_targets.values()
|
||||
else:
|
||||
# We support both space separated and semi-colon separated lists.
|
||||
if ' ' in opts.enable_targets:
|
||||
if opts.enable_targets == '':
|
||||
enable_target_names = []
|
||||
elif ' ' in opts.enable_targets:
|
||||
enable_target_names = opts.enable_targets.split()
|
||||
else:
|
||||
enable_target_names = opts.enable_targets.split(';')
|
||||
|
Loading…
Reference in New Issue
Block a user