summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index aee4336482..9042b370f7 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -391,7 +391,7 @@ def host_gcc_version(d, taskcontextonly=False):
391 except subprocess.CalledProcessError as e: 391 except subprocess.CalledProcessError as e:
392 bb.fatal("Error running %s --version: %s" % (compiler, e.output.decode("utf-8"))) 392 bb.fatal("Error running %s --version: %s" % (compiler, e.output.decode("utf-8")))
393 393
394 match = re.match(r".* (\d\.\d)\.\d.*", output.split('\n')[0]) 394 match = re.match(r".* (\d+\.\d+)\.\d+.*", output.split('\n')[0])
395 if not match: 395 if not match:
396 bb.fatal("Can't get compiler version from %s --version output" % compiler) 396 bb.fatal("Can't get compiler version from %s --version output" % compiler)
397 397