aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/chromium-clang-r2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/chromium-clang-r2.patch')
-rw-r--r--community/chromium/chromium-clang-r2.patch10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/chromium/chromium-clang-r2.patch b/community/chromium/chromium-clang-r2.patch
index 94932b559a..1c2955796f 100644
--- a/community/chromium/chromium-clang-r2.patch
+++ b/community/chromium/chromium-clang-r2.patch
@@ -1,14 +1,16 @@
+diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
+index 83337d5..8cb93e3 100644
--- ./build/config/compiler/BUILD.gn
+++ ./build/config/compiler/BUILD.gn
-@@ -422,18 +422,6 @@
- cflags += [ "-fcolor-diagnostics" ]
+@@ -488,18 +488,6 @@ config("compiler") {
+ }
}
-- # TODO(hans): Remove this once Clang generates better optimized debug info by
-- # default. https://crbug.com/765793
- if (is_clang && !is_nacl && current_toolchain == host_toolchain &&
- target_os != "chromeos") {
- cflags += [
+- # TODO(hans): Remove this once Clang generates better optimized debug info
+- # by default. https://crbug.com/765793
- "-Xclang",
- "-mllvm",
- "-Xclang",