optee-client: Disable Werror with clang
PATCH 1/1 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 <[email protected]>
--- meta-arm/recipes-security/optee/optee-client.inc | 1 + 1 file changed, 1 insertion(+)
meta-arm/recipes-security/optee/optee-client.inc +1 -0
@@ -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
Signature · 1 line
2.29.2
Jon Mason
AppliedQuoted 5 lines · Khem Raj
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 <[email protected]>
Applied to master.
Thanks,
Jon
Quoted 23 lines
--- meta-arm/recipes-security/optee/optee-client.inc | 1 + 1 file changed, 1 insertion(+)meta-arm/recipes-security/optee/optee-client.inc +1
-0@@ -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.serviceSignature · 1 line
2.29.2