This patch allows to use an external toolchain based on gcc 12. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>