diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-18 16:38:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-18 16:38:57 +0100 |
commit | 06ed7b60c6b20f9251be0a7c51733338d0b222e9 (patch) | |
tree | f6c880e34a99527989583b7d31a91454a1b2a11f /www-client/chromium/files/chromium-clang-r2.patch | |
parent | baf59ad449bfa1aa61213c7f93da38ce3245d00f (diff) |
www-client/chromium : import from portage tree
Diffstat (limited to 'www-client/chromium/files/chromium-clang-r2.patch')
-rw-r--r-- | www-client/chromium/files/chromium-clang-r2.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-clang-r2.patch b/www-client/chromium/files/chromium-clang-r2.patch new file mode 100644 index 00000000..aaee1671 --- /dev/null +++ b/www-client/chromium/files/chromium-clang-r2.patch @@ -0,0 +1,21 @@ +--- a/build/config/compiler/BUILD.gn ++++ b/build/config/compiler/BUILD.gn +@@ -422,18 +422,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=0", +- ] +- } +- + # 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. |