Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 13:29:41 -0500
From:      Mikhail Teterin <mi+mxe@aldan.algebra.com>
To:        ports@FreeBSD.org, gnome@FreeBSD.org
Subject:   While we discuss libtool (-fpic vs. -fPIC)
Message-ID:  <1141151381.20664.19.camel@mteterin.us.murex.com>

next in thread | raw e-mail | index | archive | help
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.

Yours,

	-mi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1141151381.20664.19.camel>