diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-06-03 20:00:22 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-04 07:08:13 -0700 |
commit | a854c2cb774077e82663b88d5c4746d5e409f83c (patch) | |
tree | 33d2c1a059364a83db349ec519bc036b3a3b367e /meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb | |
parent | 693ec65bf279c2fa1af9f12a019c58c1a5c23d17 (diff) | |
download | meta-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.bb | 1 |
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 | |||
32 | PACKAGECONFIG ??= "shared-libs programs" | 32 | PACKAGECONFIG ??= "shared-libs programs" |
33 | PACKAGECONFIG[shared-libs] = "-DUSE_SHARED_MBEDTLS_LIBRARY=ON,-DUSE_SHARED_MBEDTLS_LIBRARY=OFF" | 33 | PACKAGECONFIG[shared-libs] = "-DUSE_SHARED_MBEDTLS_LIBRARY=ON,-DUSE_SHARED_MBEDTLS_LIBRARY=OFF" |
34 | PACKAGECONFIG[programs] = "-DENABLE_PROGRAMS=ON,-DENABLE_PROGRAMS=OFF" | 34 | PACKAGECONFIG[programs] = "-DENABLE_PROGRAMS=ON,-DENABLE_PROGRAMS=OFF" |
35 | PACKAGECONFIG[werror] = "-DMBEDTLS_FATAL_WARNINGS=ON,-DMBEDTLS_FATAL_WARNINGS=OFF" | ||
35 | 36 | ||
36 | EXTRA_OECMAKE = "-DENABLE_TESTING=OFF -DLIB_INSTALL_DIR:STRING=${libdir}" | 37 | EXTRA_OECMAKE = "-DENABLE_TESTING=OFF -DLIB_INSTALL_DIR:STRING=${libdir}" |
37 | 38 | ||