[Nix-dev] Re: Policy on -fPIC and static libraries

Peter Simons simons at cryp.to
Mon Mar 9 15:23:43 CET 2009


Hi Lluís,

 > I had a problem with the vxl packages, which I need with -fPIC for my
 > purposes in amd64. That implies a performance penality linking vxl
 > code for programs (not shared libraries), which is not important for
 > me.

can't you add a boolean argument to the vxl derivation that controls
whether position-independent code is built or not?

Take care,
Peter




More information about the nix-dev mailing list