-fPIC for a port that is just a library on amd64?

Kris Kennaway kris at obsecurity.org
Wed Apr 19 18:28:07 UTC 2006


On Wed, Apr 19, 2006 at 12:57:32PM -0500, Larry Rosenman wrote:
> Kris Kennaway wrote:
> 
> >> 
> >> It's just compiling a static object (a libxdiff.a).
> >> 
> >> I just submitted a patch to the port that if ${MACHINE} == amd64 I
> >> do the CFLAGS+= -fPIC but I'm not sure that's acceptable to you
> >> folks on portmgr. 
> > 
> > How is this object used?  Is it really supposed to be static?
> > 
> > Kris
> 
> I was going by the port which did NOT configure it with --enable-shared.
> 
> It appears to build a shared object if I configure it with --enable-shared.
> 
> I didn't look at the history of the port.  It's currently a ports@ port, and
> the PR I sent (ports/96062)
> has me grab maintainership.
> 
> If you want me to, I can update it to build shared, but I need to test it
> some.

OK, but you didn't answer my question :-)

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060419/b72a6213/attachment.pgp


More information about the freebsd-ports mailing list