mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
script/addToolsVersion: fix eglibc version separator
eglibc uses '_', not '.' to separate major/minor. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
parent
bbe3c1ee13
commit
1e449846a5
@ -141,8 +141,8 @@ addToolVersion() {
|
|||||||
;;
|
;;
|
||||||
eglibc)
|
eglibc)
|
||||||
# Extract 'M'ajor and 'm'inor from version string
|
# Extract 'M'ajor and 'm'inor from version string
|
||||||
ver_M=$(getVersionField "${version}" . 1)
|
ver_M=$(getVersionField "${version}" _ 1)
|
||||||
ver_m=$(getVersionField "${version}" . 2)
|
ver_m=$(getVersionField "${version}" _ 2)
|
||||||
if [ \( ${ver_M} -eq 2 -a ${ver_m} -ge 16 \) ]; then
|
if [ \( ${ver_M} -eq 2 -a ${ver_m} -ge 16 \) ]; then
|
||||||
SedExpr1="${SedExpr1}\n select LIBC_EGLIBC_2_16_or_later"
|
SedExpr1="${SedExpr1}\n select LIBC_EGLIBC_2_16_or_later"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user