[Nix-dev] Re: adapters.nix for -fPIC or -m32

Lluís Batlle viriketo at gmail.com
Wed Mar 11 15:21:07 CET 2009


I also prefer having all per package for the -fPIC option but I
thought on the adapters idea for the -m32.

About -fPIC, each package may know what to compile with -fPIC and what
not (programs, for example).

2009/3/11 Peter Simons <simons at cryp.to>:
> Hi Lluís,
>
>  > With Pierron we talked on irc about the -fPIC option to be added
>  > maybe to every package, and he suggested the stdenv/adapters.nix
>  > file.
>
> just in case you consider doing those changes in the SVN repository, I'd
> like to point out that I'm not at all thrilled by the notion of setting
> this flag globally. I realize that such an approach would be very
> convenient for your purposes, but IMHO this kind of thing really ought
> to be configured *per package*, preferably my means of a parameter
> that's being passed to the expression.
>
> Take care,
> Peter
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>



More information about the nix-dev mailing list