summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-19 14:49:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-19 14:56:07 +0100
commit641529503a4bce628327855dc4769b0e57a9cb1d (patch)
tree85ff09293e8ed98131fba7d4e7a08293773cd02e
parent2106a567820bad438ff78d54a49e3d87da428dcf (diff)
downloadopenembedded-core-641529503a4bce628327855dc4769b0e57a9cb1d.tar.gz
openembedded-core-641529503a4bce628327855dc4769b0e57a9cb1d.tar.bz2
openembedded-core-641529503a4bce628327855dc4769b0e57a9cb1d.zip
libxcrypt: Switch to disable obsolete APIs
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@linuxfoundation.org>
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt_4.4.6.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/libxcrypt/libxcrypt_4.4.6.bb b/meta/recipes-core/libxcrypt/libxcrypt_4.4.6.bb
index 637c0e6ffb..893f5e7379 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"