mbedtls: Add packageconfig for warning-as-errors
PATCH 1/1 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 <[email protected]>
--- meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-networking/recipes-connectivity/mbedtls/mbedtls_2.26.0.bb +1 -0
@@ -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}"
Signature · 1 line
2.31.1