aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index a890a99d6..41f2fa6e6 100755
--- a/configure.py
+++ b/configure.py
@@ -2576,7 +2576,7 @@ def detect_compiler_version(ccinfo, cc_bin, os_name):
cc_version_flag = {
'msvc': ([], r'Compiler Version ([0-9]+).[0-9\.]+ for'),
'gcc': (['-v'], r'gcc version ([0-9]+.[0-9])+.[0-9]+'),
- 'clang': (['-v'], r'clang version ([0-9]+.[0-9])+.[0-9]+')
+ 'clang': (['-v'], r'clang version ([0-9]+.[0-9])[ \.]')
}
if ccinfo.basename not in cc_version_flag.keys():