From 0de8e065f46beecfed0c93b6e09adac6f3a67941 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 3 Nov 2020 19:16:17 -0800 Subject: [PATCH] optee-client: Disable Werror with clang Main flags are using gcc specific warning options e.g. -Wunsafe-loop-optimizations which are unkown to clang so it reports then under -Wunknown-warning-option as an error when -Werror is on Signed-off-by: Khem Raj Signed-off-by: Jon Mason --- meta-arm/recipes-security/optee/optee-client.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-arm/recipes-security/optee/optee-client.inc b/meta-arm/recipes-security/optee/optee-client.inc index 26f97245..88a94839 100644 --- a/meta-arm/recipes-security/optee/optee-client.inc +++ b/meta-arm/recipes-security/optee/optee-client.inc @@ -16,6 +16,7 @@ SRC_URI = " \ S = "${WORKDIR}/git" EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON" +EXTRA_OECMAKE_append_toolchain-clang = " -DCFG_WERROR=0" do_install_append() { install -D -p -m0644 ${WORKDIR}/tee-supplicant.service ${D}${systemd_system_unitdir}/tee-supplicant.service