Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 09:52:38 -0500
From:      "Larry Rosenman" <ler@lerctr.org>
To:        <freebsd-ports@freebsd.org>
Subject:   -fPIC for a port that is just a library on amd64?
Message-ID:  <00f701c663c0$e71c73b0$0202fea9@aus.pervasive.com>

next in thread | raw e-mail | index | archive | help
What's the best way to get a port to add -fPIC to the compile for a port
that
generates just an archive library (textproc/libxdiff)?

I was able to force the issue with CFLAGS=-fPIC make;CFLAGS=-fpic make
install, 
but it would be nice if the port could do it automagically.

The issue is that the pecl-xdiff extension uses this library and wants to be
a shared object. 

Thanks,
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?00f701c663c0$e71c73b0$0202fea9>