1 |
On Wednesday 03 August 2005 07:16 am, Martin Schlemmer wrote: |
2 |
> On Tue, 2005-08-02 at 09:22 -0400, Mike Frysinger wrote: |
3 |
> > On Monday 01 August 2005 10:43 pm, Danny van Dyk wrote: |
4 |
> > > Mike Frysinger schrieb: |
5 |
> > > |>your USE=pic example is wrong, it does not change CFLAGS (and if your |
6 |
> > > |>package does, it is broken) |
7 |
> > > |
8 |
> > > chillispot at least is not wrong. If USE="pic" is set, it compiles |
9 |
> > > _only with_ -fPIC, ommiting to compile files twice and effectivly |
10 |
> > > telling libtool not to produce a normal static library. |
11 |
> > |
12 |
> > just to review ... `use_with pic` should never be used because if you |
13 |
> > dont have 'pic' in your USE flags, the ebuild will run `./configure |
14 |
> > --without-pic` ... that means libtool will try to produce shared and |
15 |
> > static libraries with object files which were built without PIC ... on |
16 |
> > many arches (like amd64), the linker will abort |
17 |
> > |
18 |
> > btw, where do you get this information ? my tests show that libtool |
19 |
> > still compiles all files twice even though --with-pic was used ... |
20 |
> |
21 |
> Last time I checked, only --without-pic or --disable-static disable |
22 |
> compiling twice. |
23 |
|
24 |
my tests show that with libtool 1.5.18 --without-pic doesnt change |
25 |
anything ... obviously --disable-static changes things same as |
26 |
--disable-shared would :P |
27 |
|
28 |
maybe i just did it wrong ... i used imlib2-1.2.0 as a reference |
29 |
-mike |
30 |
-- |
31 |
gentoo-dev@g.o mailing list |