From b17792c52cd6ddc1600bd10f7df5e2c74056f19f Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Tue, 17 May 2022 20:17:45 +1200 Subject: glibc: Reinstate support for the bundled ports Commit 6d5227b6 ("Remove obsolete glibc 2.12.1") removed supports for the separate glibc-ports but also removed GLIBC_USE_PORTS_ADDON. Glibc versions up to 2.20 bundled support from some architectures in the ports directory so GLIBC_USE_PORTS_ADDON is required to support these older glibc versions. Fixes #1736 Signed-off-by: Chris Packham --- scripts/build/libc/glibc.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/build/libc') diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 3ca77fe6..2afefd41 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -294,6 +294,9 @@ glibc_add_ons_list() local sep="$1" local addons_list + if [ "${CT_GLIBC_USE_PORTS_ADDON}" = "y" ]; then + addons_list="${addons_list}${sep}ports" + fi if [ "${CT_GLIBC_USE_NPTL_ADDON}" = "y" ]; then addons_list="${addons_list}${sep}nptl" fi -- cgit v1.2.3