[Nix-dev] --ftls-model=global-dynamic for every lib?

Adrien Devresse Adev at adev.name
Sun Feb 28 12:53:16 CET 2016


Thx Domen, this is exactly what I was looking for.




Le 28/02/2016 11:33, Domen Kožar a écrit :
> See https://github.com/NixOS/nixpkgs/pull/12895/files#diff-8ac87a75c3dd650a7f760fa3b2d041bfR239
>
> On Sun, Feb 28, 2016 at 10:31 AM, Adrien Devresse <Adev at adev.name
> <mailto:Adev at adev.name>> wrote:
>
>     To generalize a bit on this.
>
>     Most of the Linux distributions have a mandatory default set of flags
>     for all libraries / binaries that are enforced through "configure /
>     cmake" macros ( -fPIC is part of them ). They do this for very good
>     reasons: security, protability, compatibility.
>
>     It would be good to have a bit of documentation on how to handle
>     this in
>     NixOS.
>
>
>     Adev~~
>
>     Le 28/02/2016 01:31, stewart mackenzie a écrit :
>     > Just to clarify the correct argument passed to gcc or clang
>     should be -fpic .
>     > _______________________________________________
>     > nix-dev mailing list
>     > nix-dev at lists.science.uu.nl <mailto:nix-dev at lists.science.uu.nl>
>     > http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
>
>     _______________________________________________
>     nix-dev mailing list
>     nix-dev at lists.science.uu.nl <mailto:nix-dev at lists.science.uu.nl>
>     http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160228/108b8362/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160228/108b8362/attachment.bin 


More information about the nix-dev mailing list