1 |
On Friday 15 April 2005 10:29 am, Francesco Riosa wrote: |
2 |
> Mike Frysinger wrote: |
3 |
> >as a reminder, NEVER utilize USE=pic in your package unless you know |
4 |
> > exactly |
5 |
> |
6 |
> [... snip of how much PIC is bad ] |
7 |
|
8 |
PIC isnt bad ... people misusing USE=pic is bad |
9 |
|
10 |
> A clarification: It's ok to use it _only_ for _libraryes_ by default ? |
11 |
|
12 |
a good rule of thumb: |
13 |
shared objects should always be built with PIC |
14 |
|
15 |
> i.e |
16 |
> econf [...] --with-lib-ccflags="-fPIC" |
17 |
|
18 |
ive never seen/used --with-lib-ccflags configure option before, but i imagine |
19 |
it'll affect static libraries too right ? you dont want that |
20 |
|
21 |
the large majority of autotooled package gets PIC handling right so you |
22 |
shouldnt need this kind of crap ... |
23 |
-mike |
24 |
-- |
25 |
gentoo-dev@g.o mailing list |