aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/chromium-remove-unknown-clang-warnings.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2018-09-13 10:05:50 +0000
committerTimo Teräs <timo.teras@iki.fi>2018-09-13 10:05:50 +0000
commit365a47fac12316ea710f6106fb3c46ad3edbe286 (patch)
tree0f817936447e1ca0ab3d38591aeecf708ec8c5e6 /community/chromium/chromium-remove-unknown-clang-warnings.patch
parent4fcaef9fe5c892643439c6788f48a290f859793b (diff)
downloadaports-365a47fac12316ea710f6106fb3c46ad3edbe286.tar.bz2
aports-365a47fac12316ea710f6106fb3c46ad3edbe286.tar.xz
community/chromium: fix and enable build on aarch64 and armhf
Diffstat (limited to 'community/chromium/chromium-remove-unknown-clang-warnings.patch')
-rw-r--r--community/chromium/chromium-remove-unknown-clang-warnings.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/chromium/chromium-remove-unknown-clang-warnings.patch b/community/chromium/chromium-remove-unknown-clang-warnings.patch
new file mode 100644
index 0000000000..83bbbbb88d
--- /dev/null
+++ b/community/chromium/chromium-remove-unknown-clang-warnings.patch
@@ -0,0 +1,20 @@
+--- build/config/compiler/BUILD.gn.orig
++++ build/config/compiler/BUILD.gn
+@@ -1399,14 +1399,14 @@
+ "-Wno-user-defined-warnings",
+
+ # TODO(thakis): https://crbug.com/753973
+- "-Wno-enum-compare-switch",
++ #"-Wno-enum-compare-switch",
+
+ # TODO(hans): https://crbug.com/766891
+- "-Wno-null-pointer-arithmetic",
++ #"-Wno-null-pointer-arithmetic",
+
+ # Ignore warnings about MSVC optimization pragmas.
+ # TODO(thakis): Only for no_chromium_code? http://crbug.com/505314
+- "-Wno-ignored-pragma-optimize",
++ #"-Wno-ignored-pragma-optimize",
+ ]
+ } else if (use_xcode_clang) {
+ cflags += [