1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-04-20 11:29:54 +00:00

arm/optee-ftpm: silence new compiler errors from GCC 14.1

GCC 14.1 is stricter with code validation and the build now fails.
However as upstream appear to be about to remove this source entirely from
upstream[1] I didn't want to spend long investigating this if upstream
changes will obsolete it, so just silence the errors for now.

[1] https://github.com/microsoft/ms-tpm-20-ref/pull/108

Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
Ross Burton
2024-06-18 15:41:27 +00:00
committed by Jon Mason
parent bd9fc4bbfc
commit 1985604beb

View File

@@ -42,6 +42,11 @@ EXTRA_OEMAKE:append:aarch64:qemuall = "\
CFG_ARM64_ta_arm64=y \
"
# TODO: GCC 14.1 is finding genuine issues with the code but as upstream appear to be removing
# the code we're building (https://github.com/microsoft/ms-tpm-20-ref/pull/108) lets just
# ignore them for now.
CFLAGS += "-Wno-implicit-function-declaration -Wno-incompatible-pointer-types"
# python3-cryptography needs the legacy provider, so set OPENSSL_MODULES to the
# right path until this is relocated automatically.
export OPENSSL_MODULES="${STAGING_LIBDIR_NATIVE}/ossl-modules"