Fixed concretization
This commit is contained in:
		| @@ -183,6 +183,8 @@ def concretize_compiler_flags(self, spec): | |||||||
|         """ |         """ | ||||||
|         ret = False |         ret = False | ||||||
|         for flag in Compiler.valid_compiler_flags(): |         for flag in Compiler.valid_compiler_flags(): | ||||||
|  |             if flag in spec.compiler_flags: | ||||||
|  |                 continue | ||||||
|             try: |             try: | ||||||
|                 nearest = next(p for p in spec.traverse(direction='parents') |                 nearest = next(p for p in spec.traverse(direction='parents') | ||||||
|                                if ((p.compiler == spec.compiler and p is not spec) |                                if ((p.compiler == spec.compiler and p is not spec) | ||||||
|   | |||||||
| @@ -1745,7 +1745,7 @@ def tree(self, **kwargs): | |||||||
|         showid = kwargs.pop('ids',   False) |         showid = kwargs.pop('ids',   False) | ||||||
|         cover  = kwargs.pop('cover', 'nodes') |         cover  = kwargs.pop('cover', 'nodes') | ||||||
|         indent = kwargs.pop('indent', 0) |         indent = kwargs.pop('indent', 0) | ||||||
|         fmt    = kwargs.pop('format', '$_$@$%@$+$+arch=') |         fmt    = kwargs.pop('format', '$_$@$%@+$+$=') | ||||||
|         prefix = kwargs.pop('prefix', None) |         prefix = kwargs.pop('prefix', None) | ||||||
|         check_kwargs(kwargs, self.tree) |         check_kwargs(kwargs, self.tree) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Gregory Becker
					Gregory Becker