micropython: replace local fix with upstream one
[buildroot-gz.git] / package / glibc / Config.in
blob85aace6e298bcae8e08de4302f79ffc5fca4fbf7
1 if BR2_TOOLCHAIN_BUILDROOT_GLIBC
3 config BR2_PACKAGE_GLIBC
4         bool
5         default y
6         select BR2_PACKAGE_LINUX_HEADERS
7         select BR2_TOOLCHAIN_HAS_SSP
9 choice
10         prompt "glibc version"
11         default BR2_GLIBC_VERSION_2_23
13 config BR2_GLIBC_VERSION_2_22
14         bool "2.22"
15         # Too old to build with gcc >= 6.x
16         depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6
18 config BR2_GLIBC_VERSION_2_23
19         bool "2.23"
21 config BR2_GLIBC_VERSION_2_24
22         bool "2.24"
23         # Linux 3.2 or later kernel headers are required on all arches.
24         # See: https://sourceware.org/ml/libc-alpha/2016-08/msg00212.html
25         depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
27 comment "glibc-2.24 needs kernel headers >= 3.2"
28         depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
30 endchoice
32 endif
34 config BR2_GLIBC_VERSION_STRING
35         string
36         default "2.22" if BR2_GLIBC_VERSION_2_22
37         default "2.23" if BR2_GLIBC_VERSION_2_23
38         default "2.24" if BR2_GLIBC_VERSION_2_24