Message ID | 20201104031617.1770048-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/meta-arm/recipes-security/optee/optee-client.inc b/meta-arm/recipes-security/optee/optee-client.inc index 26f9724..88a9483 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
On Tue, Nov 03, 2020 at 07:16:17PM -0800, Khem Raj wrote: > 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 <raj.khem@gmail.com> Applied to master. Thanks, Jon > --- > 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 26f9724..88a9483 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 > -- > 2.29.2 > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1336): https://lists.yoctoproject.org/g/meta-arm/message/1336 Mute This Topic: https://lists.yoctoproject.org/mt/78022358/1003190 Group Owner: meta-arm+owner@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [mhalstead@linuxfoundation.org] -=-=-=-=-=-=-=-=-=-=-=-
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 <raj.khem@gmail.com> --- meta-arm/recipes-security/optee/optee-client.inc | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1331): https://lists.yoctoproject.org/g/meta-arm/message/1331 Mute This Topic: https://lists.yoctoproject.org/mt/78022358/1003190 Group Owner: meta-arm+owner@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [mhalstead@linuxfoundation.org] -=-=-=-=-=-=-=-=-=-=-=-