diff options
author | Andrew Childs <lorne@cons.org.nz> | 2020-11-19 16:43:15 +0900 |
---|---|---|
committer | Andrew Childs <lorne@cons.org.nz> | 2021-05-17 00:27:01 +0900 |
commit | 1182552332a0f0a312c6c73ce958cee342de3c2b (patch) | |
tree | 1e12dcd20754e6fcb6c9d304b81b8bac802e42c5 /pkgs/development/libraries/gmp | |
parent | 314c92c5428d7e05df435490ed34e59dcc08112f (diff) |
gmp: disable assembly on Apple Silicon
Diffstat (limited to 'pkgs/development/libraries/gmp')
-rw-r--r-- | pkgs/development/libraries/gmp/6.x.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gmp/6.x.nix b/pkgs/development/libraries/gmp/6.x.nix index bf03bf08779bb..177c15670526d 100644 --- a/pkgs/development/libraries/gmp/6.x.nix +++ b/pkgs/development/libraries/gmp/6.x.nix @@ -46,7 +46,7 @@ let self = stdenv.mkDerivation rec { # to build a .dll on windows, we need --disable-static + --enable-shared # see https://gmplib.org/manual/Notes-for-Particular-Systems.html ++ optional (!withStatic && stdenv.hostPlatform.isWindows) "--disable-static --enable-shared" - ; + ++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) "--disable-assembly"; doCheck = true; # not cross; |