diff options
Diffstat (limited to 'config/libc/glibc.in.2')
-rw-r--r-- | config/libc/glibc.in.2 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/config/libc/glibc.in.2 b/config/libc/glibc.in.2 index d3030a3d..8c8bb82d 100644 --- a/config/libc/glibc.in.2 +++ b/config/libc/glibc.in.2 @@ -7,15 +7,17 @@ # Ports were integrated into the main tarball in 2.17 config LIBC_GLIBC_PORTS_EXTERNAL - bool - default y + def_bool y depends on !LIBC_GLIBC_2_17_or_later +config LIBC_GLIBC_NEEDS_PORTS + def_bool y + depends on ARCH_alpha || ARCH_arm || ARCH_m68k || ARCH_mips || ARCH_powerpc + # Ports are no longer an add-on starting with 2.20 config LIBC_GLIBC_USE_PORTS - bool - default y if ARCH_alpha || ARCH_arm || ARCH_m68k || ARCH_mips || ARCH_powerpc - depends on !LIBC_GLIBC_2_20_or_later + def_bool y + depends on LIBC_GLIBC_NEEDS_PORTS && !LIBC_GLIBC_2_20_or_later # Force using the BFD linker during the toolchain build config LIBC_glibc_family |