gmp: added flag to enable building the cxx library (enabled by default)
svn path=/nixpkgs/trunk/; revision=12357
This commit is contained in:
parent
f579e01606
commit
db8241e430
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, m4}:
|
{stdenv, fetchurl, m4, cxx ? true}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "gmp-4.2.2";
|
name = "gmp-4.2.2";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [m4];
|
buildInputs = [m4];
|
||||||
|
configureFlags = if cxx then "--enable-cxx" else "--disable-cxx";
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user