On Tue, 2005-08-02 at 09:22 -0400, Mike Frysinger wrote:
> On Monday 01 August 2005 10:43 pm, Danny van Dyk wrote:
> > Mike Frysinger schrieb:
> > |>your USE=pic example is wrong, it does not change CFLAGS (and if your
> > |>package does, it is broken)
> >
> > chillispot at least is not wrong. If USE="pic" is set, it compiles _only
> > with_ -fPIC, ommiting to compile files twice and effectivly telling
> > libtool not to produce a normal static library.
> 
> just to review ... `use_with pic` should never be used because if you dont 
> have 'pic' in your USE flags, the ebuild will run `./configure 
> --without-pic` ... that means libtool will try to produce shared and static 
> libraries with object files which were built without PIC ... on many arches 
> (like amd64), the linker will abort
> 
> btw, where do you get this information ?  my tests show that libtool still 
> compiles all files twice even though --with-pic was used ...

Last time I checked, only --without-pic or --disable-static disable
compiling twice.


-- 
Martin Schlemmer

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to