diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-17 19:52:25 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-23 21:48:58 -0400 |
commit | e2a1dc6a44ec3801c4fe3059eabbd7d0ac8983df (patch) | |
tree | c28e19c2e089ec7d0dd7ed616ba44ec7ab3ac39f /pkgs/development/libraries/gmp | |
parent | 6948ffd398086f2da02397e1391c8f555c46f66f (diff) |
libgmp: don’t compile with cpp on wasm
We don’t have full C++ support for things like threads or exceptions.
Diffstat (limited to 'pkgs/development/libraries/gmp')
-rw-r--r-- | pkgs/development/libraries/gmp/6.x.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gmp/6.x.nix b/pkgs/development/libraries/gmp/6.x.nix index ce78f32308824..f320c303123e6 100644 --- a/pkgs/development/libraries/gmp/6.x.nix +++ b/pkgs/development/libraries/gmp/6.x.nix @@ -1,4 +1,5 @@ -{ stdenv, fetchurl, m4, cxx ? !stdenv.hostPlatform.useAndroidPrebuilt +{ stdenv, fetchurl, m4 +, cxx ? !stdenv.hostPlatform.useAndroidPrebuilt && !stdenv.hostPlatform.isWasm , buildPackages , withStatic ? false }: |