summary refs log tree commit diff
path: root/pkgs/development/libraries/gmp
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-04-17 19:52:25 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-23 21:48:58 -0400
commite2a1dc6a44ec3801c4fe3059eabbd7d0ac8983df (patch)
treec28e19c2e089ec7d0dd7ed616ba44ec7ab3ac39f /pkgs/development/libraries/gmp
parent6948ffd398086f2da02397e1391c8f555c46f66f (diff)
downloadnixpkgs-e2a1dc6a44ec3801c4fe3059eabbd7d0ac8983df.tar
nixpkgs-e2a1dc6a44ec3801c4fe3059eabbd7d0ac8983df.tar.gz
nixpkgs-e2a1dc6a44ec3801c4fe3059eabbd7d0ac8983df.tar.bz2
nixpkgs-e2a1dc6a44ec3801c4fe3059eabbd7d0ac8983df.tar.lz
nixpkgs-e2a1dc6a44ec3801c4fe3059eabbd7d0ac8983df.tar.xz
nixpkgs-e2a1dc6a44ec3801c4fe3059eabbd7d0ac8983df.tar.zst
nixpkgs-e2a1dc6a44ec3801c4fe3059eabbd7d0ac8983df.zip
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.nix3
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 ce78f323088..f320c303123 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 }: