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 C7029138334 for ; Tue, 12 Feb 2019 23:01:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5BA8E089B; Tue, 12 Feb 2019 23:01:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 82CB7E089B for ; Tue, 12 Feb 2019 23:01:45 +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 9CAFE340D31 for ; Tue, 12 Feb 2019 23:01:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BA2E537 for ; Tue, 12 Feb 2019 23:01:41 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1550012493.bcf3b906fdf9380837d462e56aca0da1f2388f2c.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/binutils/binutils-2.31.1-r3.ebuild sys-devel/binutils/binutils-9999.ebuild sys-devel/binutils/metadata.xml X-VCS-Directories: sys-devel/binutils/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: bcf3b906fdf9380837d462e56aca0da1f2388f2c X-VCS-Branch: master Date: Tue, 12 Feb 2019 23:01:41 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ef297f4f-646f-4edd-85c0-a37765ddf31e X-Archives-Hash: 71875a39f7f33ab24e76cf5aeddbf236 commit: bcf3b906fdf9380837d462e56aca0da1f2388f2c Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Feb 12 23:01:16 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Feb 12 23:01:33 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcf3b906 sys-devel/binutils: add USE=default-gold, bug #496760 binutils allows you to set ld=ld.bfd (default) and ld=ld.gold. Expose this override as USE=default-gold. Reported-by: Marcin Mirosław Bug: https://bugs.gentoo.org/496760 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich gentoo.org> sys-devel/binutils/binutils-2.31.1-r3.ebuild | 8 ++++++-- sys-devel/binutils/binutils-9999.ebuild | 5 ++++- sys-devel/binutils/metadata.xml | 1 + 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/sys-devel/binutils/binutils-2.31.1-r3.ebuild b/sys-devel/binutils/binutils-2.31.1-r3.ebuild index 0ba64dc35a0..ef47b02deaf 100644 --- a/sys-devel/binutils/binutils-2.31.1-r3.ebuild +++ b/sys-devel/binutils/binutils-2.31.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -8,7 +8,8 @@ inherit eutils libtool flag-o-matic gnuconfig multilib versionator DESCRIPTION="Tools necessary to build programs" HOMEPAGE="https://sourceware.org/binutils/" LICENSE="GPL-3+" -IUSE="+cxx doc multitarget +nls static-libs test" +IUSE="+cxx default-gold doc multitarget +nls static-libs test" +REQUIRED_USE="default-gold? ( cxx )" # Variables that can be set here: # PATCH_VER - the patchset version @@ -179,6 +180,9 @@ src_configure() { if use cxx ; then myconf+=( --enable-gold ) myconf+=( --enable-plugins ) + if use default-gold; then + myconf+=( --enable-gold=default ) + fi fi if use nls ; then diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index 5e72d97d140..4e2bb0f4ec7 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -178,6 +178,9 @@ src_configure() { if use cxx ; then myconf+=( --enable-gold ) myconf+=( --enable-plugins ) + if use default-gold; then + myconf+=( --enable-gold=default ) + fi fi if use nls ; then diff --git a/sys-devel/binutils/metadata.xml b/sys-devel/binutils/metadata.xml index cd119b3491c..98c985e11c4 100644 --- a/sys-devel/binutils/metadata.xml +++ b/sys-devel/binutils/metadata.xml @@ -6,6 +6,7 @@ Gentoo Toolchain Project + Set ld to point to ld.gold instead of ld.bfd Adds support to binutils for cross compiling (does not work with gas)