blob: 4d917ff4a17d719bc8892aeb0f3c7601e386a536 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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" ]
|