From 9473e7a481c2a1ca57ec8ddc6d7fe1ac1378347b Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Mon, 21 Aug 2023 20:59:52 +1200 Subject: glibc: Add option for building libcrypt As of glibc-2.38 libcrypt is not built by default. Add an option to allow building libcrypt support into glibc. Signed-off-by: Chris Packham --- config/libc/glibc.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'config') diff --git a/config/libc/glibc.in b/config/libc/glibc.in index 81261cdc..fb72f67a 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -155,6 +155,12 @@ config GLIBC_HAS_OBSOLETE_RPC def_bool y depends on GLIBC_2_14_or_later && !GLIBC_2_32_or_later +# As of 2.38 libcrypt is no longer built by default. It will likely be removed in a future +# version. +config GLIBC_HAS_OBSOLETE_LIBCRYPT + def_bool y + depends on GLIBC_2_38_or_later + config GLIBC_EXTRA_CONFIG_ARRAY string prompt "extra config" @@ -203,6 +209,13 @@ config GLIBC_ENABLE_OBSOLETE_RPC help Allow building applications using obsolete (Sun) RPC. +config GLIBC_ENABLE_OBSOLETE_LIBCRYPT + bool "Enable obsolete libcrypt" + default n + depends on GLIBC_HAS_OBSOLETE_LIBCRYPT + help + Allow building applications using obsolete libcrypt APIs. + config GLIBC_ENABLE_FORTIFIED_BUILD bool prompt "Enable fortified build (EXPERIMENTAL)" -- cgit v1.2.3