sysroot: Fix arm64 build requiring glibc 2.29

https://bugs.chromium.org/p/chromium/issues/detail?id=1309965#c5
This commit is contained in:
klzgrad 2022-10-06 00:14:04 +08:00
parent f2c4bbe4b4
commit 69464f03be
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ for line in stdout.decode("utf-8").split('\n'):
continue
version = [int(part) for part in match.group(1).split('.')]
if version < MAX_ALLOWED_GLIBC_VERSION:
if version <= MAX_ALLOWED_GLIBC_VERSION:
old_supported_version = supported_version.get(base_name, ([-1], -1))
supported_version[base_name] = max((version, index), old_supported_version)
if is_default:

View File

@ -398,7 +398,7 @@ HacksAndPatchesARM64() {
HacksAndPatchesCommon aarch64 linux-gnu true
# Skip reversion_glibc.py. Glibc is compiled in a way where many libm math
# functions do not have compatibility symbols for versions <= 2.17.
# ReversionGlibc aarch64 linux-gnu
ReversionGlibc aarch64 linux-gnu
}
HacksAndPatchesARMEL() {