While we discuss libtool (-fpic vs. -fPIC)

Kris Kennaway kris at obsecurity.org
Tue Feb 28 11:25:03 PST 2006

On Tue, Feb 28, 2006 at 01:29:41PM -0500, Mikhail Teterin wrote:
> While we discuss libtool, I have a request. As installed, libtool builds
> shared objects with just `-fPIC' on FreeBSD.
> The bsd.lib.mk is both smarter -- it uses the more efficient `-fpic' on
> all arches, but sparc64, and more accurate -- it appends the `-DPIC' to
> the CFLAGS.
> I'm yet to find the souse, that would make the libtool/autoconf/automake
> spaghetti palatable, but if anyone already knows this software, the
> change should be trivial.

Not sure what you're requesting precisely, but -fPIC and not -fpic is
correct on amd64 and ia64.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060228/a865b838/attachment-0001.bin

More information about the freebsd-ports mailing list