diff options
Diffstat (limited to 'community/chromium/gcc-arm.patch')
-rw-r--r-- | community/chromium/gcc-arm.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/chromium/gcc-arm.patch b/community/chromium/gcc-arm.patch new file mode 100644 index 0000000000..4d917ff4a1 --- /dev/null +++ b/community/chromium/gcc-arm.patch @@ -0,0 +1,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" ] |