core: support host gcc of the future
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 23 Oct 2018 09:08:40 +0000 (11:08 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 23 Oct 2018 09:43:35 +0000 (11:43 +0200)
commit3950e69dad925b684aaf7462713e50aab882de28
treeac7b3dd90d67ffba654f6c50ecabcea8a2d6d0c9
parentf3b058ddb183267b8e037cb070d5bf10c472b34d
core: support host gcc of the future

When we do a release, we know only of a set of gcc versions that the
host may have. But in the future, distributions with newer gcc versions
may show up.

Currently, we do not recognise those versions, and thus we do as if they
were older than the oldest we know of. This means that a set of packages
become unselectable, when they should be.

We fix that by capping the detected version to the highest we know of.

Reported-by: gargar_ on IRC
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Config.in
Makefile