~gfunkmonk/+junk/chromium-debian

« back to all changes in this revision

Viewing changes to debian/patches/remove-unavailable-clang-option-v2.patch

  • Committer: Matt Rinsch
  • Date: 2017-11-03 20:14:52 UTC
  • Revision ID: gfunkmonk@gmail.com-20171103201452-0u5y7w67430p7205
init

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: chromium-64.0.3253.3/build/config/compiler/BUILD.gn
 
2
===================================================================
 
3
--- chromium-64.0.3253.3.orig/build/config/compiler/BUILD.gn
 
4
+++ chromium-64.0.3253.3/build/config/compiler/BUILD.gn
 
5
@@ -422,18 +422,6 @@ config("compiler") {
 
6
     cflags += [ "-fcolor-diagnostics" ]
 
7
   }
 
8
 
 
9
-  # TODO(hans): Remove this once Clang generates better optimized debug info by
 
10
-  # default. https://crbug.com/765793
 
11
-  if (is_clang && !is_nacl && current_toolchain == host_toolchain &&
 
12
-      target_os != "chromeos") {
 
13
-    cflags += [
 
14
-      "-Xclang",
 
15
-      "-mllvm",
 
16
-      "-Xclang",
 
17
-      "-instcombine-lower-dbg-declare=0",
 
18
-    ]
 
19
-  }
 
20
-
 
21
   # Print absolute paths in diagnostics. There is no precedent for doing this
 
22
   # on Linux/Mac (GCC doesn't support it), but MSVC does this with /FC and
 
23
   # Windows developers rely on it (crbug.com/636109) so only do this on Windows.