]> 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>
Sat, 28 Mar 2020 10:24:40 +0000 (10:24 +0000)
commit186fe4a3d390a52b87282c3e694ce3251e45ee78
tree54c27aae6301bd7c46e6dc8970fd619560e0e368
parent29a9a2edca220bd9562e7ab5ae7df1d0b58f4d07
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>
meta/lib/oe/utils.py