On Tue, Aug 01, 2006 at 11:26:25PM -0700, go moko wrote:
> --- Ken Moffat <[EMAIL PROTECTED]> wrote:
> 
> Adding -fPIC to CFLAGS is easier, but means that
> "make" is done with -fPIC, so libraries and programs
> are compiled with this option, which is perhaps not
> wanted.

 A quick look at my logs for doing it by the book on pure64 suggests
that the libraries other than in the testsuite are already compiled
with -fPIC -dPIC, although I agree that adding -fPIC into the CFLAGS
looks as if it is adding it to other compiles.  I'll diff the logs
tomorrow.

 Assuming that something will now have -fPIC which didn't used to, I
question whether it matters.  I've seen a number of blfs packages
where adding -fPIC made them link on x86_64-64, but most have now
been fixed to do the right thing.  However, I can see the logic in
only altering the testsuite, I'll probably go with that after I've
completed four sets of tests (as-is, CFLAGS, add to CC, sed the
testsuite).

Ken
-- 
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to