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:
parent
35a4593277
commit
ebdb515865
@ -19,6 +19,7 @@
|
|||||||
, libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null
|
, libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null
|
||||||
, gnatboot ? null
|
, gnatboot ? null
|
||||||
, enableMultilib ? false
|
, enableMultilib ? false
|
||||||
|
, enablePlugin ? false
|
||||||
, name ? "gcc"
|
, name ? "gcc"
|
||||||
, cross ? null
|
, cross ? null
|
||||||
, binutilsCross ? null
|
, binutilsCross ? null
|
||||||
@ -229,6 +230,7 @@ stdenv.mkDerivation ({
|
|||||||
configureFlags = "
|
configureFlags = "
|
||||||
${if enableMultilib then "" else "--disable-multilib"}
|
${if enableMultilib then "" else "--disable-multilib"}
|
||||||
${if enableShared then "" else "--disable-shared"}
|
${if enableShared then "" else "--disable-shared"}
|
||||||
|
${if enablePlugin then "--enable-plugin" else ""}
|
||||||
${if ppl != null then "--with-ppl=${ppl}" else ""}
|
${if ppl != null then "--with-ppl=${ppl}" else ""}
|
||||||
${if cloog != null then
|
${if cloog != null then
|
||||||
"--with-cloog=${cloog} --enable-cloog-backend=isl"
|
"--with-cloog=${cloog} --enable-cloog-backend=isl"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user