]> code.ossystems Code Review - meta-freescale.git/commit
imx-vpu-hantro: fix compilation issues with -fcommon
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Fri, 28 Aug 2020 08:11:50 +0000 (08:11 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 1 Sep 2020 15:59:28 +0000 (12:59 -0300)
commitbb582837c8c1ee08255b721f0bf946d6074c4773
treef456a379060635dad17b3e33bc95a3c1c06d1b05
parent2cced8bd3e8c5c32a3e7a4727add20db1377026d
imx-vpu-hantro: fix compilation issues with -fcommon

GCC 10.2 is recently configured to include -fcommon per default, which
results in compilation error with multiple definitions of enum names.

Intoduce a patch which corrects double-defined enum names and resolves
compilation of the component.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Cc: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit a6bf5c7b5c463caf96e8045b8d2dec5b66fe2bc1)
recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-decoder_sw-resolve-compilation-error-with-fcommon.patch [new file with mode: 0644]
recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.18.0.bb