diff options
author | Simon Warta <[email protected]> | 2017-07-31 21:56:05 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2017-07-31 21:56:05 +0200 |
commit | 04e403779881b208ff446bdb161e9d7358a1353a (patch) | |
tree | 34b6278f98ff00a425092e6a63c03b5a823e2c56 | |
parent | ac70b45ef8bc1388fe9ba8778d3a1962f9ea9e30 (diff) |
Log success/failure without early return in version_from_compiler_output()
-rwxr-xr-x | configure.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.py b/configure.py index 006f60041..c123b248d 100755 --- a/configure.py +++ b/configure.py @@ -2650,12 +2650,12 @@ class CompilerDetector(object): (apple_clang_version)) cc_version = '3.8' # safe default - if cc_version is None: + if cc_version: + logging.info('Detected %s compiler version %s' % (self._cc_name, cc_version)) + else: logging.warning("Tried to get %s version, but output '%s' does not match expected version format" % ( self._cc_name, cc_output)) - return None - logging.info('Detected %s compiler version %s' % (self._cc_name, cc_version)) return cc_version |