This also fixes issues with gcc 10's default change to "-fno-common".
(From OE-Core rev: 3acc1e5d5bce4e229801c9d66391e007390fb373)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>