summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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 652b2be145..144c123a0e 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -387,7 +387,7 @@ def host_gcc_version(d, taskcontextonly=False):
387 except subprocess.CalledProcessError as e: 387 except subprocess.CalledProcessError as e:
388 bb.fatal("Error running %s --version: %s" % (compiler, e.output.decode("utf-8"))) 388 bb.fatal("Error running %s --version: %s" % (compiler, e.output.decode("utf-8")))
389 389
390 match = re.match(r".* (\d\.\d)\.\d.*", output.split('\n')[0]) 390 match = re.match(r".* (\d+\.\d+)\.\d+.*", output.split('\n')[0])
391 if not match: 391 if not match:
392 bb.fatal("Can't get compiler version from %s --version output" % compiler) 392 bb.fatal("Can't get compiler version from %s --version output" % compiler)
393 393