diff options
author | Chris Packham <judge.packham@gmail.com> | 2022-05-17 20:17:45 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2022-05-18 10:38:11 +1200 |
commit | b17792c52cd6ddc1600bd10f7df5e2c74056f19f (patch) | |
tree | 2a57c1a8681f5e4c5a3a2c601dd062064f5fa7e8 /config | |
parent | 5937024455082dd57f94d9b20c034907d3e9e545 (diff) | |
download | crosstool-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 'config')
-rw-r--r-- | config/libc/glibc.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in index e7cfe0a2..0658a154 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -113,6 +113,15 @@ config GLIBC_HAS_PORTS_ADDON_EXTERNAL config GLIBC_HAS_LIBIDN_ADDON def_bool y +# Some architectures require the ports addon. List them one by one here: +# This list must be carefully in sync with the architectures names +# we can find in config/arch/* +config GLIBC_USE_PORTS_ADDON + def_bool y + depends on ARCH_ALPHA || ARCH_ARM || ARCH_M68K || ARCH_MIPS || ARCH_POWERPC + depends on GLIBC_HAS_PORTS_ADDON + depends on !GLIBC_USE_ORACLE + config GLIBC_USE_NPTL_ADDON def_bool y depends on THREADS_NATIVE && GLIBC_HAS_NPTL_ADDON |