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 62f24fdbc8
commit 1a16a881a5
2 changed files with 2 additions and 2 deletions

View File

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

View File

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