1 |
On Monday 01 August 2005 10:43 pm, Danny van Dyk wrote: |
2 |
> Mike Frysinger schrieb: |
3 |
> |>your USE=pic example is wrong, it does not change CFLAGS (and if your |
4 |
> |>package does, it is broken) |
5 |
> |
6 |
> chillispot at least is not wrong. If USE="pic" is set, it compiles _only |
7 |
> with_ -fPIC, ommiting to compile files twice and effectivly telling |
8 |
> libtool not to produce a normal static library. |
9 |
|
10 |
just to review ... `use_with pic` should never be used because if you dont |
11 |
have 'pic' in your USE flags, the ebuild will run `./configure |
12 |
--without-pic` ... that means libtool will try to produce shared and static |
13 |
libraries with object files which were built without PIC ... on many arches |
14 |
(like amd64), the linker will abort |
15 |
|
16 |
btw, where do you get this information ? my tests show that libtool still |
17 |
compiles all files twice even though --with-pic was used ... |
18 |
-mike |
19 |
-- |
20 |
gentoo-dev@g.o mailing list |