aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2022-05-17 20:17:45 +1200
committerChris Packham <judge.packham@gmail.com>2022-05-18 10:38:11 +1200
commitb17792c52cd6ddc1600bd10f7df5e2c74056f19f (patch)
tree2a57c1a8681f5e4c5a3a2c601dd062064f5fa7e8 /scripts
parent5937024455082dd57f94d9b20c034907d3e9e545 (diff)
downloadcrosstool-ng-b17792c52cd6ddc1600bd10f7df5e2c74056f19f.tar.gz
crosstool-ng-b17792c52cd6ddc1600bd10f7df5e2c74056f19f.tar.bz2
crosstool-ng-b17792c52cd6ddc1600bd10f7df5e2c74056f19f.zip
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 <judge.packham@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/libc/glibc.sh3
1 files changed, 3 insertions, 0 deletions
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