diff options
author | Timo Teräs <timo.teras@iki.fi> | 2018-09-13 10:05:50 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-09-13 10:05:50 +0000 |
commit | 365a47fac12316ea710f6106fb3c46ad3edbe286 (patch) | |
tree | 0f817936447e1ca0ab3d38591aeecf708ec8c5e6 /community/chromium/chromium-remove-unknown-clang-warnings.patch | |
parent | 4fcaef9fe5c892643439c6788f48a290f859793b (diff) | |
download | aports-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.patch | 20 |
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 += [ |