]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Sep 2020 13:38:50 +0000 (14:38 +0100)
commite73228e6b039bd972d36774bfb360a638a03d821
treeb4a63b198f3db68e6f8ef709421320f7c6f61fd7
parente68991ceb5933f7d03b96697e8a0ba0829feb320
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.

(From OE-Core rev: 1d6f50a5e58f46f8af6e83c4e288d93a717187ea)

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: Jeremy A. Puhlman <jpuhlman@mvista.com>
meta/lib/oe/utils.py