mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
gmp: don’t disable assembly on x86
this should always work, even on android / iOS toolchains (cherry picked from commit699fae259d) (cherry picked from commita5771ef41a)
This commit is contained in:
@@ -36,7 +36,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;
|
||||
|
||||
Reference in New Issue
Block a user