gmp: don’t disable assembly on x86
this should always work, even on android / iOS toolchains
This commit is contained in:
parent
f089afe965
commit
699fae259d
|
@ -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…
Reference in New Issue