diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 8a584d6ddd..96ebc36b8b 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py | |||
@@ -370,7 +370,7 @@ def host_gcc_version(d, taskcontextonly=False): | |||
370 | except subprocess.CalledProcessError as e: | 370 | except subprocess.CalledProcessError as e: |
371 | bb.fatal("Error running %s --version: %s" % (compiler, e.output.decode("utf-8"))) | 371 | bb.fatal("Error running %s --version: %s" % (compiler, e.output.decode("utf-8"))) |
372 | 372 | ||
373 | match = re.match(".* (\d\.\d)\.\d.*", output.split('\n')[0]) | 373 | match = re.match(r".* (\d+\.\d+)\.\d+.*", output.split('\n')[0]) |
374 | if not match: | 374 | if not match: |
375 | bb.fatal("Can't get compiler version from %s --version output" % compiler) | 375 | bb.fatal("Can't get compiler version from %s --version output" % compiler) |
376 | 376 | ||