Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] The dreaded debug use flag/eclass
Date: Wed, 03 Aug 2005 11:18:51
Message-Id: 1123067779.9140.9.camel@lycan.lan
In Reply to: Re: [gentoo-dev] The dreaded debug use flag/eclass by Mike Frysinger
1 On Tue, 2005-08-02 at 09:22 -0400, Mike Frysinger wrote:
2 > On Monday 01 August 2005 10:43 pm, Danny van Dyk wrote:
3 > > Mike Frysinger schrieb:
4 > > |>your USE=pic example is wrong, it does not change CFLAGS (and if your
5 > > |>package does, it is broken)
6 > >
7 > > chillispot at least is not wrong. If USE="pic" is set, it compiles _only
8 > > with_ -fPIC, ommiting to compile files twice and effectivly telling
9 > > libtool not to produce a normal static library.
10 >
11 > just to review ... `use_with pic` should never be used because if you dont
12 > have 'pic' in your USE flags, the ebuild will run `./configure
13 > --without-pic` ... that means libtool will try to produce shared and static
14 > libraries with object files which were built without PIC ... on many arches
15 > (like amd64), the linker will abort
16 >
17 > btw, where do you get this information ? my tests show that libtool still
18 > compiles all files twice even though --with-pic was used ...
19
20 Last time I checked, only --without-pic or --disable-static disable
21 compiling twice.
22
23
24 --
25 Martin Schlemmer

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] The dreaded debug use flag/eclass Mike Frysinger <vapier@g.o>