Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

gmp: don’t disable assembly on x86

this should always work, even on android / iOS toolchains

(cherry picked from commit 699fae259deb8ee121fc9e539e71285d60666126)
(cherry picked from commit a5771ef41a199c76b9783b9965bd059570794be1)

+1 -1
+1 -1
pkgs/development/libraries/gmp/6.x.nix
··· 36 36 "--build=${stdenv.buildPlatform.config}" 37 37 ] ++ optional (cxx && stdenv.isDarwin) "CPPFLAGS=-fexceptions" 38 38 ++ optional (stdenv.isDarwin && stdenv.is64bit) "ABI=64" 39 - ++ optional (with stdenv.hostPlatform; useAndroidPrebuilt || useiOSPrebuilt) "--disable-assembly" 39 + ++ optional (with stdenv.hostPlatform; (useAndroidPrebuilt || useiOSPrebuilt) && !isx86) "--disable-assembly" 40 40 ; 41 41 42 42 doCheck = true; # not cross;