mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
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 {
|
||||
name = "gmp-4.2.2";
|
||||
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
buildInputs = [m4];
|
||||
|
||||
configureFlags = if cxx then "--enable-cxx" else "--disable-cxx";
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user