Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 12:57:32 -0500
From:      "Larry Rosenman" <ler@lerctr.org>
To:        "'Kris Kennaway'" <kris@obsecurity.org>
Cc:        freebsd-ports@freebsd.org
Subject:   RE: -fPIC for a port that is just a library on amd64?
Message-ID:  <02e801c663da$bbaa2c30$0202fea9@aus.pervasive.com>
In-Reply-To: <20060419175036.GA71370@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:

>> 
>> It's just compiling a static object (a libxdiff.a).
>> 
>> I just submitted a patch to the port that if ${MACHINE} == amd64 I
>> do the CFLAGS+= -fPIC but I'm not sure that's acceptable to you
>> folks on portmgr. 
> 
> How is this object used?  Is it really supposed to be static?
> 
> Kris

I was going by the port which did NOT configure it with --enable-shared.

It appears to build a shared object if I configure it with --enable-shared.

I didn't look at the history of the port.  It's currently a ports@ port, and
the PR I sent (ports/96062)
has me grab maintainership.

If you want me to, I can update it to build shared, but I need to test it
some.

LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02e801c663da$bbaa2c30$0202fea9>