From a854c2cb774077e82663b88d5c4746d5e409f83c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 3 Jun 2021 20:00:22 -0700 Subject: mbedtls: Add packageconfig for warning-as-errors Disable the options by default, as we use different compilers there are more warnings to handle then upstream Signed-off-by: Khem Raj --- meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-networking/recipes-connectivity/mbedtls') diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb index 8c2457ce06..3c7df44513 100644 --- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb +++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb @@ -32,6 +32,7 @@ inherit cmake PACKAGECONFIG ??= "shared-libs programs" PACKAGECONFIG[shared-libs] = "-DUSE_SHARED_MBEDTLS_LIBRARY=ON,-DUSE_SHARED_MBEDTLS_LIBRARY=OFF" PACKAGECONFIG[programs] = "-DENABLE_PROGRAMS=ON,-DENABLE_PROGRAMS=OFF" +PACKAGECONFIG[werror] = "-DMBEDTLS_FATAL_WARNINGS=ON,-DMBEDTLS_FATAL_WARNINGS=OFF" EXTRA_OECMAKE = "-DENABLE_TESTING=OFF -DLIB_INSTALL_DIR:STRING=${libdir}" -- cgit 1.2.3-korg