mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
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
This commit is contained in:
parent
3a9522f7a1
commit
cfb2d0ea10
@ -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…
x
Reference in New Issue
Block a user