From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 833D0139083 for ; Sat, 16 Dec 2017 23:24:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2CB9E0BFA; Sat, 16 Dec 2017 23:24:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9C3A4E0BFA for ; Sat, 16 Dec 2017 23:24:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F70A33BF01 for ; Sat, 16 Dec 2017 23:24:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B135FA89E for ; Sat, 16 Dec 2017 23:24:23 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1513466658.7803280172901a7f2b13d7886fe60a0eb69925c4.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/, www-client/chromium/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/chromium/chromium-64.0.3282.24.ebuild www-client/chromium/files/chromium-clang-r2.patch X-VCS-Directories: www-client/chromium/files/ www-client/chromium/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 7803280172901a7f2b13d7886fe60a0eb69925c4 X-VCS-Branch: master Date: Sat, 16 Dec 2017 23:24:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 11b797fe-6152-4191-aa02-594e30c23541 X-Archives-Hash: 85937fb1c3ca5ccbe944cab34d3aec00 commit: 7803280172901a7f2b13d7886fe60a0eb69925c4 Author: Mike Gilbert gentoo org> AuthorDate: Sat Dec 16 23:24:04 2017 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Dec 16 23:24:18 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78032801 www-client/chromium: fix build with clang Closes: https://bugs.gentoo.org/637654 Package-Manager: Portage-2.3.19_p1, Repoman-2.3.6_p35 www-client/chromium/chromium-64.0.3282.24.ebuild | 1 + www-client/chromium/files/chromium-clang-r2.patch | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/www-client/chromium/chromium-64.0.3282.24.ebuild b/www-client/chromium/chromium-64.0.3282.24.ebuild index bf7155220b0..7737358b339 100644 --- a/www-client/chromium/chromium-64.0.3282.24.ebuild +++ b/www-client/chromium/chromium-64.0.3282.24.ebuild @@ -147,6 +147,7 @@ PATCHES=( "${FILESDIR}/chromium-webrtc-r0.patch" "${FILESDIR}/chromium-memcpy-r0.patch" "${FILESDIR}/chromium-cups-r0.patch" + "${FILESDIR}/chromium-clang-r2.patch" ) pre_build_checks() { 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 00000000000..aaee1671764 --- /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.