Disable zlib-ng for aarch64 linux and re-enable it for x64 linux (#1565)

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-01-13 10:51:42 +10:00 committed by GitHub
parent c08b8d232a
commit 9df18b1a48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,9 +78,9 @@ support-pkg-config := if target == target-host {
if target-os == "linux" { "true" } else { "" }
} else { "" }
#} else if target == "x86_64-unknown-linux-gnu" {
#} else if target == "aarch64-unknown-linux-gnu" {
# ",zlib-ng"
#} else if target == "x86_64-unknown-linux-musl" {
#} else if target == "aarch64-unknown-linux-musl" {
# ",zlib-ng"
git-max-perf-feature := if target == "x86_64-apple-darwin" {
",zlib-ng"
@ -90,9 +90,9 @@ git-max-perf-feature := if target == "x86_64-apple-darwin" {
",zlib-ng"
} else if target-os == "windows" {
",zlib-ng"
} else if target == "aarch64-unknown-linux-gnu" {
} else if target == "x86_64-unknown-linux-gnu" {
",zlib-ng"
} else if target == "aarch64-unknown-linux-musl" {
} else if target == "x86_64-unknown-linux-musl" {
",zlib-ng"
} else {
""