mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 17:23:14 +00:00
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>
This commit is contained in:
parent
693ec65bf2
commit
a854c2cb77
@ -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}"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user