3
0
Fork 0
forked from mirrors/nixpkgs

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

svn path=/nixpkgs/branches/stdenv-updates/; revision=32275
This commit is contained in:
Peter Simons 2012-02-14 14:42:59 +00:00
parent 35a4593277
commit ebdb515865

View file

@ -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 @@ stdenv.mkDerivation ({
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"