From 365a47fac12316ea710f6106fb3c46ad3edbe286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 13 Sep 2018 10:05:50 +0000 Subject: community/chromium: fix and enable build on aarch64 and armhf --- .../chromium-remove-unknown-clang-warnings.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 community/chromium/chromium-remove-unknown-clang-warnings.patch (limited to 'community/chromium/chromium-remove-unknown-clang-warnings.patch') 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 += [ -- cgit v1.2.3