Skip to content
Snippets Groups Projects
Commit c6241e72 authored by eugeneswalker's avatar eugeneswalker Committed by Gregory Becker
Browse files

bugfix: use getattr for variation.prefix/suffix (#17669)

parent f528022a
Branches
Tags
No related merge requests found
...@@ -681,8 +681,8 @@ def _default_make_compilers(cmp_id, paths): ...@@ -681,8 +681,8 @@ def _default_make_compilers(cmp_id, paths):
sort_fn = lambda variation: ( sort_fn = lambda variation: (
'cc' not in by_compiler_id[variation], # None last 'cc' not in by_compiler_id[variation], # None last
'cxx' not in by_compiler_id[variation], # None last 'cxx' not in by_compiler_id[variation], # None last
variation.prefix, getattr(variation, 'prefix', None),
variation.suffix, getattr(variation, 'suffix', None),
) )
compilers = [] compilers = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment