Date: Sun, 11 Apr 2004 18:16:12 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Jun Kuriyama <kuriyama@imgsrc.co.jp> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: cvs commit: ports/net/libpdtp Makefile Message-ID: <20040412011612.GA2031@xor.obsecurity.org> In-Reply-To: <7mlll2vwab.wl@black.imgsrc.co.jp> References: <200404120040.i3C0e7tB046017@repoman.freebsd.org> <20040412004932.GA1203@xor.obsecurity.org> <7mlll2vwab.wl@black.imgsrc.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 12, 2004 at 10:07:24AM +0900, Jun Kuriyama wrote: > At Sun, 11 Apr 2004 17:49:32 -0700, > Kris Kennaway wrote: > > > Fix build on ia64 and amd64. > >=20 > > > | +CFLAGS+=3D -fpic > >=20 > > Thanks, but this is the wrong solution since it will also compile the > > lib.a with -fpic. >=20 > Hmm, I don't understand what we should do. Should I use -fpic only at > building *.o objects, not at linking stage (shared and static)? You need to make sure that the objects are built separately for the lib.a and lib.so cases, and the latter use -fPIC. I've fixed a number of other ports this way, so you can check the commit logs for pointers to similar fixes. Kris --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAee3cWry0BWjoQKURAjPiAKDj+Snn3vyxMuZr7ai6oavlBUXxmQCePTp/ Cnj2/XkbAR9q+IKXNLKXx4s= =QGrN -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040412011612.GA2031>