On Wednesday 03 August 2005 07:16 am, Martin Schlemmer wrote:
> 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.

my tests show that with libtool 1.5.18 --without-pic doesnt change 
anything ... obviously --disable-static changes things same as 
--disable-shared would :P

maybe i just did it wrong ... i used imlib2-1.2.0 as a reference
-mike
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to