Gentoo Archives: gentoo-dev

From: Maxim Koltsov <maksbotan@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC]flag-o-matic.eclass strip-flags change to support prefix
Date: Sun, 17 Jun 2012 13:24:48
In Reply to: Re: [gentoo-dev] [RFC]flag-o-matic.eclass strip-flags change to support prefix by Justin
2012/6/17 Justin <jlec@g.o>:
> On 17.06.2012 14:13, Maxim Koltsov wrote: >> Hi, >> During prefix bootstrap i noticed that strip-flags removes -L and -I >> flags from *FLAGS while these flags are essential for prefix >> bootstrapping. Therefore i propose a fix for strip-flags function to > > Is this really necessary? I never experienced any problems which need > this when following the guides. I looks like a hack, because something > else is borked.
I've just hit binutils on OpenBSD not finding installed in $EPREFIX/usr/lib/ because of this. Don't tell me that OpenBSD prefix is unsupported, i'm working on getting it supported.
>> make it preserve prefix-related flags. I have attached a patch, please >> review it. It works for me, but I'm unsure how it will work with >> spaces in ${EPREFIX} > > Why not use "use prefix" instead of checking for the variable? > >
I didn't know about prefix use flag. I attach the fixed patch.


File name MIME type
flag-o-matic.patch application/octet-stream