Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Mike Frysinger <vapier@g.o>
Subject: Re: Re: Proposal for flag-o-matic.eclass (append-ldflags)
Date: Fri, 28 Aug 2009 16:08:59 -0400
On Sunday 14 December 2008 16:39:17 Jeremy Olexa wrote:
> On Mon, Dec 8, 2008 at 10:33 AM, Jeremy Olexa <darkside@g.o> wrote:
> > I am seeking a positive code review on the following change to
> > flag-o-matic.eclass, diff is below (reasons are below that):
>
> Er, cancel that. The proposed patch isn't robust enough to catch
> something like "append-ldflags -Wl,--bad-flag"

sounds like we need a test-flag-LD() func that can go the extra mile

> As such, we will leave
> it local to Gentoo Prefix until we can come up with a better idea.

stick it behind userland_GNU ?  i dont mind extending append-ldflags in such a 
way, but the "pro" you listed originally (protect users from typos in ebuilds) 
isnt a pro in my book -- it should fail.

i.e. something like:
append-ldflags() {
	use userland_GNU || set -- $(test-flag-LD "$@")
	......
}
-mike
Attachment:
signature.asc (This is a digitally signed message part.)
Replies:
Re: Re: Proposal for flag-o-matic.eclass (append-ldflags)
-- Fabian Groffen
References:
Proposal for flag-o-matic.eclass (append-ldflags)
-- Jeremy Olexa
Re: Proposal for flag-o-matic.eclass (append-ldflags)
-- Jeremy Olexa
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Proposal for flag-o-matic.eclass (append-ldflags)
Next by thread:
Re: Re: Proposal for flag-o-matic.eclass (append-ldflags)
Previous by date:
Re: Proposal for flag-o-matic.eclass (append-ldflags)
Next by date:
Re: Re: Gentoo stats server/client @ 2009-08-22


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.