diff options
author | Alexey Neyman <stilor@att.net> | 2016-03-15 12:39:03 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2016-04-01 18:15:39 -0700 |
commit | 712b617a744aa941b99d32d9ff6d9126c77382fb (patch) | |
tree | 3ea6540f9e9642e0acd23329281a66ed15b50928 /config/libc | |
parent | 7ac327d6c33fa78f194e816beec0796901f5d002 (diff) | |
download | crosstool-ng-712b617a744aa941b99d32d9ff6d9126c77382fb.tar.gz crosstool-ng-712b617a744aa941b99d32d9ff6d9126c77382fb.tar.bz2 crosstool-ng-712b617a744aa941b99d32d9ff6d9126c77382fb.zip |
Unbreak sparc-unknown-linux-gnu.
GLIBC 2.23 dropped support for pre-v9 SPARC in pthreads. Pass host
triplet with s/sparc/sparcv9/ replacement for 2.23.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/libc')
-rw-r--r-- | config/libc/glibc.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in index fc7c85b2..96879cce 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -74,7 +74,7 @@ choice config LIBC_GLIBC_V_2_23 bool prompt "2.23" - select LIBC_GLIBC_2_20_or_later + select LIBC_GLIBC_2_23_or_later config LIBC_GLIBC_V_2_22 bool @@ -109,6 +109,11 @@ endchoice endif # ! LIBC_GLIBC_CUSTOM +# Checked by SPARC build: SPARCv8 is dropped in 2.23. +config LIBC_GLIBC_2_23_or_later + select LIBC_GLIBC_2_20_or_later + bool + # DeMark 2.20 as no longer needs to set NPTL as an addon. # It is no longer possible to build glibc without pthread! config LIBC_GLIBC_2_20_or_later |