From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] RFC: LD_AS_NEEDED="1" in profiles/targets/developer/make.defaults?
Date: Sun, 4 Oct 2009 12:30:10 +0200 [thread overview]
Message-ID: <20091004103010.GS19056@gentoo.org> (raw)
In-Reply-To: <4AC8754A.60408@gentoo.org>
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 </dev/null) in
> + *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
next prev parent reply other threads:[~2009-10-04 10:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-03 19:13 [gentoo-dev] RFC: LD_AS_NEEDED="1" in profiles/targets/developer/make.defaults? Samuli Suominen
2009-10-03 19:18 ` Tomáš Chvátal
2009-10-03 19:25 ` Arfrever Frehtes Taifersar Arahesis
2009-10-03 19:28 ` Samuli Suominen
2009-10-03 19:29 ` Ciaran McCreesh
2009-10-03 19:35 ` Samuli Suominen
2009-10-03 20:15 ` Fabian Groffen
2009-10-03 20:27 ` Samuli Suominen
2009-10-03 20:33 ` Fabian Groffen
2009-10-03 20:40 ` Samuli Suominen
2009-10-03 21:11 ` Samuli Suominen
2009-10-03 21:13 ` Fabian Groffen
2009-10-04 10:13 ` Samuli Suominen
2009-10-04 10:30 ` Fabian Groffen [this message]
2009-10-03 20:21 ` [gentoo-dev] " Ryan Hill
2009-10-03 21:35 ` Samuli Suominen
2009-10-05 2:03 ` Peter Hjalmarsson
2009-10-05 6:10 ` Ryan Hill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091004103010.GS19056@gentoo.org \
--to=grobian@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox