summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-06-03 20:00:22 -0700
committerKhem Raj <raj.khem@gmail.com>2021-06-04 07:08:13 -0700
commita854c2cb774077e82663b88d5c4746d5e409f83c (patch)
tree33d2c1a059364a83db349ec519bc036b3a3b367e /meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb
parent693ec65bf279c2fa1af9f12a019c58c1a5c23d17 (diff)
downloadmeta-openembedded-a854c2cb774077e82663b88d5c4746d5e409f83c.tar.gz
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 <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb')
-rw-r--r--meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb1
1 files changed, 1 insertions, 0 deletions
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 8c2457ce0..3c7df4451 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
32PACKAGECONFIG ??= "shared-libs programs" 32PACKAGECONFIG ??= "shared-libs programs"
33PACKAGECONFIG[shared-libs] = "-DUSE_SHARED_MBEDTLS_LIBRARY=ON,-DUSE_SHARED_MBEDTLS_LIBRARY=OFF" 33PACKAGECONFIG[shared-libs] = "-DUSE_SHARED_MBEDTLS_LIBRARY=ON,-DUSE_SHARED_MBEDTLS_LIBRARY=OFF"
34PACKAGECONFIG[programs] = "-DENABLE_PROGRAMS=ON,-DENABLE_PROGRAMS=OFF" 34PACKAGECONFIG[programs] = "-DENABLE_PROGRAMS=ON,-DENABLE_PROGRAMS=OFF"
35PACKAGECONFIG[werror] = "-DMBEDTLS_FATAL_WARNINGS=ON,-DMBEDTLS_FATAL_WARNINGS=OFF"
35 36
36EXTRA_OECMAKE = "-DENABLE_TESTING=OFF -DLIB_INSTALL_DIR:STRING=${libdir}" 37EXTRA_OECMAKE = "-DENABLE_TESTING=OFF -DLIB_INSTALL_DIR:STRING=${libdir}"
37 38