]> code.ossystems Code Review - meta-freescale.git/commit
optee-os: backport gcc10 compilation fix from upstream
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Sat, 30 May 2020 22:27:24 +0000 (22:27 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 23 Jun 2020 11:44:02 +0000 (08:44 -0300)
commitfb3c377da24217614c0e84a738c9e2f61742f54c
treea1a3965c98b6a865f01f982568e855edd3da7ba6
parentb354d998bff234fea016d4e14d937c5af7eaf150
optee-os: backport gcc10 compilation fix from upstream

Backport PR 3891 [1] from OP-TEE upstream repository. This PR solves
GCC10 compilation issue when new compiler option `outline-atomics` is
not implemented and causes the linker error.

In addition, above upstream PR solves issue with 'cc-option` macro,
which is necessary to be used to provide comptibility with GCC <10 to
disable the `outline-atomics` option, since it is present only in GCC10.

[1]: https://github.com/OP-TEE/optee_os/pull/3891

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
recipes-security/optee-imx/optee-os/0001-arm64-Disable-outline-atomics-when-compiling.patch [deleted file]
recipes-security/optee-imx/optee-os/0001-optee-os-fix-gcc10-compilation-issue-and-missing-cc-.patch [new file with mode: 0644]
recipes-security/optee-imx/optee-os_3.2.0.imx.bb