[Buildroot] [PATCH] toolchain: adjust version check to allow for single numbers

Peter Korsgaard peter at korsgaard.com
Mon Jul 13 07:05:35 UTC 2020


>>>>> "Norbert" == Norbert Lange <nolange79 at gmail.com> writes:

 > A gcc compiler, which was configured with
 > --with-gcc-major-version-only, will only return a single
 > number. (debian does this for example).

 > A simple modification allows the check to work with both
 > single numbers (eg. '9') and full versions (eg. '9.2.1').

 > Signed-off-by: Norbert Lange <nolange79 at gmail.com>

Committed to 2020.02.x and 2020.05.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list