diff options
author | Jack Lloyd <[email protected]> | 2017-12-14 18:52:03 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-14 18:52:03 -0500 |
commit | 1240e6d5df6f98c583099b3c984885ace89781a0 (patch) | |
tree | dc8ba9e08b698c1ef3bd22c25c3c765d1963e65b /configure.py | |
parent | d32ddca6d8858cc4974e0cc8ff8f35717c3e19ee (diff) |
Address review comments: indent code and fix clang regex
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.py b/configure.py index 6bd27dbb0..5cbfab329 100755 --- a/configure.py +++ b/configure.py @@ -2779,9 +2779,9 @@ def prepare_configure_build(info_modules, source_paths, options, def calculate_cc_min_version(options, ccinfo, source_paths): version_patterns = { - 'msvc': r'^MSVC ([0-9]{2})([0-9]{2})$', - 'gcc': r'^GCC ([0-9]+) ([0-9]+)$', - 'clang': r'^CLANG ([0-9]+) ([0-9])$', + 'msvc': r'^ *MSVC ([0-9]{2})([0-9]{2})$', + 'gcc': r'^ *GCC ([0-9]+) ([0-9]+)$', + 'clang': r'^ *CLANG ([0-9]+) ([0-9]+)$', } if ccinfo.basename not in version_patterns: |