[PATCH] LibTomCrypt on amd64 and -fPIC
Tom St Denis
tomstdenis at gmail.com
Mon Sep 5 17:01:24 PDT 2005
On 9/5/05, David O'Brien <obrien at freebsd.org> wrote:
> On Wed, Aug 24, 2005 at 07:18:18PM -0700, shellreef at gmail.com wrote:
> > To FreeBSD-amd64: Can we add -fPIC to make.conf? Are there any
> > side-effects? (I'd prefer this as I use packages and would prefer to
> > not compile from ports.)
> No. -fPIC should only be used to build shared libraries. Not every
> since piece of code compiled for AMD64.
If the library doesn't build without -fPIC it's because they're using
a custom compiler. I've built LTC on 4.0.1, 3.4.4, 3.3.6 and 2.96
boxes [it isn't stable on 4.01, 3.3.6 but it at least builds].
More information about the freebsd-amd64