From owner-freebsd-ports@FreeBSD.ORG Tue Feb 28 19:25:03 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 672D616A420; Tue, 28 Feb 2006 19:25:03 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5783843D5D; Tue, 28 Feb 2006 19:24:54 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id C789A1A3C24; Tue, 28 Feb 2006 11:24:54 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1E99C517BC; Tue, 28 Feb 2006 14:24:54 -0500 (EST) Date: Tue, 28 Feb 2006 14:24:54 -0500 From: Kris Kennaway To: Mikhail Teterin Message-ID: <20060228192453.GA84695@xor.obsecurity.org> References: <1141151381.20664.19.camel@mteterin.us.murex.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <1141151381.20664.19.camel@mteterin.us.murex.com> User-Agent: Mutt/1.4.2.1i Cc: ports@FreeBSD.org, gnome@FreeBSD.org Subject: Re: While we discuss libtool (-fpic vs. -fPIC) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 19:25:03 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. >=20 > 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. Kris --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iD8DBQFEBKOFWry0BWjoQKURAu0VAKDMlp4NygEkzSba4HGpNTL8vQLWogCgvvza DyLqPxSkdkBdNND0Z7919tE= =FEfO -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--