aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/gcc-arm.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-05-06 06:00:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-07 14:40:55 +0000
commit5f276606f194b9b107043dda8d8479a9842f13cb (patch)
tree74189c769c729326ddd8578aee0890aa377422da /community/chromium/gcc-arm.patch
parentec982866ada0790335f5550608772b72f71e69a8 (diff)
downloadaports-5f276606f194b9b107043dda8d8479a9842f13cb.tar.bz2
aports-5f276606f194b9b107043dda8d8479a9842f13cb.tar.xz
community/chromium: upgrade to 76
disabel armhf and armv7 til we sorted out the clang++ problem
Diffstat (limited to 'community/chromium/gcc-arm.patch')
-rw-r--r--community/chromium/gcc-arm.patch22
1 files changed, 12 insertions, 10 deletions
diff --git a/community/chromium/gcc-arm.patch b/community/chromium/gcc-arm.patch
index fdbb4bb7be..7498954ac6 100644
--- a/community/chromium/gcc-arm.patch
+++ b/community/chromium/gcc-arm.patch
@@ -1,11 +1,13 @@
---- ./third_party/zlib/BUILD.gn.orig
+diff --git a/third_party/zlib/BUILD.gn b/third_party/zlib/BUILD.gn
+index 1a9cd3b..728a011 100644
+--- ./third_party/zlib/BUILD.gn
+++ ./third_party/zlib/BUILD.gn
-@@ -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_fuchsia) {
-+ if (is_clang && !is_ios && !is_fuchsia) {
- defines = [ "CRC32_ARMV8_CRC32" ]
- if (is_android) {
- defines += [ "ARMV8_OS_ANDROID" ]
+@@ -16,7 +16,7 @@ config("zlib_internal_config") {
+
+ use_arm_neon_optimizations = false
+ if (current_cpu == "arm" || current_cpu == "arm64") {
+- if (arm_use_neon) {
++ if (arm_use_neon && is_clang) {
+ use_arm_neon_optimizations = true
+ }
+ }