Fixed concretization
This commit is contained in:
parent
cd69681ae5
commit
2ac5ea42af
2 changed files with 3 additions and 1 deletions
|
@ -183,6 +183,8 @@ def concretize_compiler_flags(self, spec):
|
|||
"""
|
||||
ret = False
|
||||
for flag in Compiler.valid_compiler_flags():
|
||||
if flag in spec.compiler_flags:
|
||||
continue
|
||||
try:
|
||||
nearest = next(p for p in spec.traverse(direction='parents')
|
||||
if ((p.compiler == spec.compiler and p is not spec)
|
||||
|
|
|
@ -1745,7 +1745,7 @@ def tree(self, **kwargs):
|
|||
showid = kwargs.pop('ids', False)
|
||||
cover = kwargs.pop('cover', 'nodes')
|
||||
indent = kwargs.pop('indent', 0)
|
||||
fmt = kwargs.pop('format', '$_$@$%@$+$+arch=')
|
||||
fmt = kwargs.pop('format', '$_$@$%@+$+$=')
|
||||
prefix = kwargs.pop('prefix', None)
|
||||
check_kwargs(kwargs, self.tree)
|
||||
|
||||
|
|
Loading…
Reference in a new issue