-Wimplicit-fallthrough was introduced in GCC 7, so currently building
crust requires all three involved compilers to be at least of that
vintage.
While it's somewhat feasible to upgrade to a newer cross-compiler, the
system compiler is much harder to update on its own, especially in long
term stable distributions.
To allow building crust on older Linux systems without extended surgery,
drop the new warning option from the "build" compiler flavour.
Actually it is explicitly disabled again when building Kconfig, so we
don't really lose anything.
-Wimplicit-fallthrough was introduced in GCC 7, so currently building crust requires all three involved compilers to be at least of that vintage.
While it's somewhat feasible to upgrade to a newer cross-compiler, the system compiler is much harder to update on its own, especially in long term stable distributions.
To allow building crust on older Linux systems without extended surgery, drop the new warning option from the "build" compiler flavour. Actually it is explicitly disabled again when building Kconfig, so we don't really lose anything.
Signed-off-by: Andre Przywara andre.przywara@arm.com
Purpose
Closes #
Considerations for reviewers