mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
14 lines
618 B
Diff
14 lines
618 B
Diff
diff --git a/third_party/zlib/BUILD.gn b/third_party/zlib/BUILD.gn
|
|
index b44bda6..1d159d8 100644
|
|
--- ./third_party/zlib/BUILD.gn
|
|
+++ ./third_party/zlib/BUILD.gn
|
|
@@ -63,7 +63,7 @@ config("zlib_arm_crc32_config") {
|
|
# - ChromeOS has wrapper scripts that are borking the compiler flags.
|
|
# - Fuchsia just added a syscall for feature detection.
|
|
# TODO(cavalcantii): crbug.com/810125.
|
|
- if (!is_ios && !is_chromeos && !is_fuchsia) {
|
|
+ if (is_clang && !is_ios && !is_chromeos && !is_fuchsia) {
|
|
defines = [ "CRC32_ARMV8_CRC32" ]
|
|
if (is_android) {
|
|
defines += [ "ARMV8_OS_ANDROID" ]
|