[OE-core] [PATCH 1/3] libxcrypt: Switch to disable obsolete APIs

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jun 19 13:56:41 UTC 2019


Since we have a fair amount of control of what we build in OE we can disable the obsolete
APIs which is what most distros are doing at this point.

This causes the library version to bump from 1 to 2.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/libxcrypt/libxcrypt_4.4.6.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-core/libxcrypt/libxcrypt_4.4.6.bb b/meta/recipes-core/libxcrypt/libxcrypt_4.4.6.bb
index 637c0e6ffbd..893f5e73791 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt_4.4.6.bb
+++ b/meta/recipes-core/libxcrypt/libxcrypt_4.4.6.bb
@@ -29,4 +29,7 @@ BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
 TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error=missing-attributes"
 CPPFLAGS_append_class-nativesdk = " -Wno-error=missing-attributes"
 
+API = "--disable-obsolete-api"
+EXTRA_OECONF += "${API}"
+
 BBCLASSEXTEND = "nativesdk"
-- 
2.20.1



More information about the Openembedded-core mailing list