xcodebackend: Fix iterating compilers after host/build changes
Fixes #5570
This commit is contained in:
parent
3f280a81fd
commit
866d105036
|
@ -738,7 +738,7 @@ class XCodeBackend(backends.Backend):
|
||||||
ldstr = ' '.join(ldargs)
|
ldstr = ' '.join(ldargs)
|
||||||
valid = self.buildconfmap[target_name][buildtype]
|
valid = self.buildconfmap[target_name][buildtype]
|
||||||
langargs = {}
|
langargs = {}
|
||||||
for lang in self.environment.coredata.compilers:
|
for lang in self.environment.coredata.compilers[target.for_machine]:
|
||||||
if lang not in langnamemap:
|
if lang not in langnamemap:
|
||||||
continue
|
continue
|
||||||
# Add compile args added using add_project_arguments()
|
# Add compile args added using add_project_arguments()
|
||||||
|
|
Loading…
Reference in New Issue