mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
Fix arm64 build requiring glibc 2.29
https://bugs.chromium.org/p/chromium/issues/detail?id=1309965#c5
This commit is contained in:
parent
2a968556c4
commit
077d788a4a
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -124,7 +124,7 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: src/out/sysroot-build/bullseye/bullseye_*
|
path: src/out/sysroot-build/bullseye/bullseye_*
|
||||||
key: sysroot-linux-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}-v${{ env.CACHE_EPOCH }}
|
key: sysroot-linux-${{ matrix.arch }}-${{ hashFiles('CHROMIUM_VERSION') }}-fixbugrefresh-v${{ env.CACHE_EPOCH }}
|
||||||
- id: ccache-timestamp
|
- id: ccache-timestamp
|
||||||
run: echo "::set-output name=date::$(date +%s)"
|
run: echo "::set-output name=date::$(date +%s)"
|
||||||
- name: Cache ccache files
|
- name: Cache ccache files
|
||||||
|
@ -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:
|
||||||
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user