package/libxcrypt: disable obsolete API
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 16 Mar 2021 19:30:37 +0000 (20:30 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 16 Mar 2021 20:24:43 +0000 (21:24 +0100)
Disable obsolete API following upstream feedback as it raises build
failures on some architectures such as nds32le or arc and because this
API is unsecure: https://github.com/besser82/libxcrypt/issues/122

Fixes:
 - http://autobuild.buildroot.org/results/5ae235b6ec66ac86efadaa2847307be58064c167

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libxcrypt/libxcrypt.mk

index fd33fb7ab5a792adbe56372eb0e985c85bfdd178..3cf0555ac021c657f8fb151ed31dfcb8edddbec0 100644 (file)
@@ -14,4 +14,7 @@ LIBXCRYPT_AUTORECONF = YES
 # Some warnings turn into errors with some sensitive compilers
 LIBXCRYPT_CONF_OPTS = --disable-werror
 
+# Disable obsolete and unsecure API
+LIBXCRYPT_CONF_OPTS += --disable-obsolete_api
+
 $(eval $(autotools-package))