gmp: don’t disable assembly on x86

this should always work, even on android / iOS toolchains
This commit is contained in:
Matthew Bauer 2019-09-23 13:46:50 -04:00
parent f089afe965
commit 699fae259d
1 changed files with 1 additions and 1 deletions

View File

@ -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;