gmp: disable assembly on Apple Silicon
This commit is contained in:
parent
314c92c542
commit
1182552332
@ -46,7 +46,7 @@ let self = stdenv.mkDerivation rec {
|
|||||||
# to build a .dll on windows, we need --disable-static + --enable-shared
|
# to build a .dll on windows, we need --disable-static + --enable-shared
|
||||||
# see https://gmplib.org/manual/Notes-for-Particular-Systems.html
|
# see https://gmplib.org/manual/Notes-for-Particular-Systems.html
|
||||||
++ optional (!withStatic && stdenv.hostPlatform.isWindows) "--disable-static --enable-shared"
|
++ optional (!withStatic && stdenv.hostPlatform.isWindows) "--disable-static --enable-shared"
|
||||||
;
|
++ optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) "--disable-assembly";
|
||||||
|
|
||||||
doCheck = true; # not cross;
|
doCheck = true; # not cross;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user