From owner-freebsd-ports@FreeBSD.ORG Wed Mar 10 02:38:18 2004 Return-Path: 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 AF91B16A4CE; Wed, 10 Mar 2004 02:38:18 -0800 (PST) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CFE443D39; Wed, 10 Mar 2004 02:38:18 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (db2a5dcd2d0475ceefa3f7c7e9cfa085@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203])i2AAcHTj008228; Wed, 10 Mar 2004 02:38:18 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C6E6353AB2; Wed, 10 Mar 2004 02:38:16 -0800 (PST) Date: Wed, 10 Mar 2004 02:38:16 -0800 From: Kris Kennaway To: Alex Dupre Message-ID: <20040310103816.GA94361@xor.obsecurity.org> References: <200403101031.i2AAVGU8012760@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <200403101031.i2AAVGU8012760@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i cc: ports@FreeBSD.org Subject: -fPIC on amd64 and ia64 (Re: cvs commit: ports/irc/ircservices Makefile distinfo pkg-plist) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 10:38:18 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 10, 2004 at 02:31:16AM -0800, Alex Dupre wrote: > | -CONFIGURE_ARGS= -prefix ${PREFIX} -cflags "${CFLAGS}" -cc "${CC}" > | - > | -.include > | - > | -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" > | -BROKEN= "Does not compile on amd64 or ia64 (missing -fPIC)" > | -.endif > | +CONFIGURE_ARGS= -prefix ${PREFIX} -cflags "${CFLAGS} -fPIC" -cc "${CC}" FYI, adding -fPIC globally is often not the right solution - if it was, the amd64 and ia64 compilers would just default to turning it on. Kris --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFATvAYWry0BWjoQKURArzBAJ4ocOyMX9sqZVOvLAeRQLnLwZAAbgCfVVvy TLMFuXdqV6a9AzR5r7paOE4= =Ryq9 -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o--