From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MuOMX-0002QT-Fl for garchives@archives.gentoo.org; Sun, 04 Oct 2009 10:30:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E480FE0B16; Sun, 4 Oct 2009 10:30:43 +0000 (UTC) Received: from amun.cheops.ods.org (amun.cheops.ods.org [82.95.138.191]) by pigeon.gentoo.org (Postfix) with ESMTP id A9E63E0B16 for ; Sun, 4 Oct 2009 10:30:43 +0000 (UTC) Received: from tefnut.cheops.ods.org ([2001:888:1022:0:211:24ff:fe37:e46e] helo=gentoo.org) by amun.cheops.ods.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MuOMU-0004ut-Ee for gentoo-dev@lists.gentoo.org; Sun, 04 Oct 2009 12:30:43 +0200 Date: Sun, 4 Oct 2009 12:30:10 +0200 From: Fabian Groffen To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: LD_AS_NEEDED="1" in profiles/targets/developer/make.defaults? Message-ID: <20091004103010.GS19056@gentoo.org> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <4AC7A277.7040300@gentoo.org> <20091003202929.2a56a1b2@snowcone> <4AC7A79E.2010302@gentoo.org> <20091003201521.GM19056@gentoo.org> <4AC7B3BD.3030903@gentoo.org> <20091003203343.GO19056@gentoo.org> <4AC7B6B2.9080404@gentoo.org> <4AC7BDEA.6070504@gentoo.org> <20091003211306.GP19056@gentoo.org> <4AC8754A.60408@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4AC8754A.60408@gentoo.org> User-Agent: Mutt/1.5.20 (Darwin 8.11.0, VIM - Vi IMproved 7.2) Organization: Gentoo Foundation, Inc. X-Content-Scanned: by amun.cheops.ods.org (Exim Exiscan) using SpamAssassin and ClamAV X-Archives-Salt: c9f48259-51fe-4916-8dcf-d48a1d7acf16 X-Archives-Hash: 31ceaf6279cace00f09b8be179a12432 On 04-10-2009 13:13:30 +0300, Samuli Suominen wrote: > +# @FUNCTION: no-as-needed > +# @RETURN: Flag to disable asneeded behavior for use with append-ldflags. > +no-as-needed() { > + case $($(tc-getLD) -v 2>&1 + *GNU*) # GNU ld > + echo "-Wl,--no-as-needed" ;; > + esac > +} > > It's committed. > > To avoid the already caused trouble for you (prefix), these should be > converted: thanks! -- Fabian Groffen Gentoo on a different level