]> code.ossystems Code Review - openembedded-core.git/commit
utils: fix gcc 10 version detection
authorCharles-Antoine Couret <charles-antoine.couret@mind.be>
Thu, 26 Mar 2020 20:09:49 +0000 (21:09 +0100)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 17 Jul 2020 01:36:48 +0000 (09:36 +0800)
commitd9e58aff76edf1f5fdc31785fd81fae2c7c508c8
treea28046d600c672d8b52b3f950b2685b30f573b2f
parentadd9b04f0596ade188224104595406d638a6fa73
utils: fix gcc 10 version detection

Utils can not detect GCC 10 correctly due to wrong regex.
It generates this error "ERROR: Can't get compiler version from gcc  --version output"

Sub-version numbers should be 1 or more digits instead of 1 only.

Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@mind.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 186fe4a3d390a52b87282c3e694ce3251e45ee78)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/lib/oe/utils.py