cvs commit: ports/net/libpdtp Makefile
Kris Kennaway
kris at obsecurity.org
Sun Apr 11 18:16:17 PDT 2004
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.
> >
> > > | +CFLAGS+= -fpic
> >
> > Thanks, but this is the wrong solution since it will also compile the
> > lib.a with -fpic.
>
> 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
-------------- 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/cvs-all/attachments/20040411/edb94a19/attachment-0001.bin
More information about the cvs-all
mailing list