aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/chromium-clang-r2.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-07-12 12:14:52 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-07-30 05:20:27 +0000
commit2f448dd87466e2cf21a93eca35c167c983e3ac7a (patch)
treeacb9c69db2192a4518a52bbb0971dfae9756155f /community/chromium/chromium-clang-r2.patch
parent495bbd7fb1f07c23a1f2d47a071aa5519e08744c (diff)
downloadaports-2f448dd87466e2cf21a93eca35c167c983e3ac7a.tar.bz2
aports-2f448dd87466e2cf21a93eca35c167c983e3ac7a.tar.xz
community/chromium: upgrade to 66.0.3359.181
Diffstat (limited to 'community/chromium/chromium-clang-r2.patch')
-rw-r--r--community/chromium/chromium-clang-r2.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/chromium/chromium-clang-r2.patch b/community/chromium/chromium-clang-r2.patch
new file mode 100644
index 0000000000..94932b559a
--- /dev/null
+++ b/community/chromium/chromium-clang-r2.patch
@@ -0,0 +1,21 @@
+--- ./build/config/compiler/BUILD.gn
++++ ./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.