libgmp: don’t compile with cpp on wasm

We don’t have full C++ support for things like threads or exceptions.
This commit is contained in:
Matthew Bauer 2019-04-17 19:52:25 -04:00
parent 6948ffd398
commit e2a1dc6a44

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, m4, cxx ? !stdenv.hostPlatform.useAndroidPrebuilt
{ stdenv, fetchurl, m4
, cxx ? !stdenv.hostPlatform.useAndroidPrebuilt && !stdenv.hostPlatform.isWasm
, buildPackages
, withStatic ? false }: