Date: Wed, 10 Mar 2004 02:38:16 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Alex Dupre <ale@FreeBSD.org> Cc: ports@FreeBSD.org Subject: -fPIC on amd64 and ia64 (Re: cvs commit: ports/irc/ircservices Makefile distinfo pkg-plist) Message-ID: <20040310103816.GA94361@xor.obsecurity.org> In-Reply-To: <200403101031.i2AAVGU8012760@repoman.freebsd.org> References: <200403101031.i2AAVGU8012760@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <bsd.port.pre.mk> > | - > | -.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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040310103816.GA94361>