-fPIC on amd64 and ia64 (Re: cvs commit: ports/irc/ircservices Makefile distinfo pkg-plist)

Kris Kennaway kris at obsecurity.org
Wed Mar 10 02:38:18 PST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040310/a791c77a/attachment.bin


More information about the freebsd-ports mailing list