aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/gcc-arm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/gcc-arm.patch')
-rw-r--r--community/chromium/gcc-arm.patch12
1 files changed, 5 insertions, 7 deletions
diff --git a/community/chromium/gcc-arm.patch b/community/chromium/gcc-arm.patch
index 4d917ff4a1..fdbb4bb7be 100644
--- a/community/chromium/gcc-arm.patch
+++ b/community/chromium/gcc-arm.patch
@@ -1,13 +1,11 @@
-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.orig
+++ ./third_party/zlib/BUILD.gn
-@@ -63,7 +63,7 @@ config("zlib_arm_crc32_config") {
- # - ChromeOS has wrapper scripts that are borking the compiler flags.
+@@ -67,7 +67,7 @@
+ # implement the CRC32* instructions. These are optional in ARMv8.0."
# - 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) {
+- if (!is_ios && !is_fuchsia) {
++ if (is_clang && !is_ios && !is_fuchsia) {
defines = [ "CRC32_ARMV8_CRC32" ]
if (is_android) {
defines += [ "ARMV8_OS_ANDROID" ]