build: Improve GCC version detection
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 31 Mar 2018 19:28:32 +0000 (21:28 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 3 Apr 2018 21:26:45 +0000 (23:26 +0200)
commitd6d3db05436952f68f47d35df58ad5050b1f2d66
tree744c9bba885eaaa22c5e245629771635511abe25
parentece815508a06ee114f549a7f0970740634fe2e62
build: Improve GCC version detection

This now makes sure that the beginning of the version number gets checked
and "4.4.5" will not match was a supported version.
GCC 8 and GCC 9 are now marked as supported, but we probably have to fix
some problems for them.

Closes: FS#1433
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
include/prereq-build.mk