diff --git a/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb b/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb index d5f6e01db..9546215a2 100644 --- a/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb +++ b/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb @@ -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"