diff options
author | Jonas Heinrich | 2017-12-13 22:47:23 +0100 |
---|---|---|
committer | Jonas Heinrich | 2017-12-13 22:47:23 +0100 |
commit | ac49deb3145c075a39e88510779260ea75e336c3 (patch) | |
tree | 14b8e1dca2eecd73184b4e385a348ad5dadf324f /chromium-clang-r1.patch | |
parent | 63e4902779ee5c1a272a05fc1217e39cdf7d8794 (diff) | |
download | aur-ac49deb3145c075a39e88510779260ea75e336c3.tar.gz |
updated package to match a bit more the upstream version
Diffstat (limited to 'chromium-clang-r1.patch')
-rw-r--r-- | chromium-clang-r1.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/chromium-clang-r1.patch b/chromium-clang-r1.patch new file mode 100644 index 000000000000..0fef167566a0 --- /dev/null +++ b/chromium-clang-r1.patch @@ -0,0 +1,21 @@ +--- a/build/config/compiler/BUILD.gn.orig 2017-10-04 08:50:15.014675936 +0000 ++++ b/build/config/compiler/BUILD.gn 2017-10-04 08:50:32.831024327 +0000 +@@ -429,18 +429,6 @@ + cflags += [ "-fcolor-diagnostics" ] + } + +- # 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 += [ +- "-Xclang", +- "-mllvm", +- "-Xclang", +- "-instcombine-lower-dbg-declare=1", +- ] +- } +- + # Print absolute paths in diagnostics. There is no precedent for doing this + # on Linux/Mac (GCC doesn't support it), but MSVC does this with /FC and + # Windows developers rely on it (crbug.com/636109) so only do this on Windows. |