Author: simons
Date: Tue Feb 14 14:42:59 2012
New Revision: 32275
URL: https://nixos.org/websvn/nix/?rev=32275&sc=1

Log:
pkgs/development/compilers/gcc-4.6: added 'enablePlugin' attribute (defaults to 
false) to add support for GCC plugins (such as melt)

Modified:
   
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.6/default.nix

Modified: 
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.6/default.nix
==============================================================================
--- 
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.6/default.nix  
    Tue Feb 14 14:42:56 2012        (r32274)
+++ 
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.6/default.nix  
    Tue Feb 14 14:42:59 2012        (r32275)
@@ -19,6 +19,7 @@
 , libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null
 , gnatboot ? null
 , enableMultilib ? false
+, enablePlugin ? false
 , name ? "gcc"
 , cross ? null
 , binutilsCross ? null
@@ -229,6 +230,7 @@
   configureFlags = "
     ${if enableMultilib then "" else "--disable-multilib"}
     ${if enableShared then "" else "--disable-shared"}
+    ${if enablePlugin then "--enable-plugin" else ""}
     ${if ppl != null then "--with-ppl=${ppl}" else ""}
     ${if cloog != null then
       "--with-cloog=${cloog} --enable-cloog-backend=isl"
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to