gmp: don’t disable assembly on x86

this should always work, even on android / iOS toolchains
wip/yesman
Matthew Bauer 5 years ago
parent f089afe965
commit 699fae259d
  1. 2
      pkgs/development/libraries/gmp/6.x.nix

@ -37,7 +37,7 @@ let self = stdenv.mkDerivation rec {
"--build=${stdenv.buildPlatform.config}"
] ++ optional (cxx && stdenv.isDarwin) "CPPFLAGS=-fexceptions"
++ optional (stdenv.isDarwin && stdenv.is64bit) "ABI=64"
++ optional (with stdenv.hostPlatform; useAndroidPrebuilt || useiOSPrebuilt) "--disable-assembly"
++ optional (with stdenv.hostPlatform; (useAndroidPrebuilt || useiOSPrebuilt) && !isx86) "--disable-assembly"
;
doCheck = true; # not cross;

Loading…
Cancel
Save