libgcrypt: disable asm on aarch64-darwin
See: https://dev.gnupg.org/T5157
This commit is contained in:
parent
b0dcc5bb97
commit
dd54d77845
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||
++ lib.optional enableCapabilities libcap;
|
||||
|
||||
configureFlags = [ "--with-libgpg-error-prefix=${libgpgerror.dev}" ]
|
||||
++ lib.optional stdenv.hostPlatform.isMusl "--disable-asm";
|
||||
++ lib.optional (stdenv.hostPlatform.isMusl || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)) "--disable-asm"; # for darwin see https://dev.gnupg.org/T5157
|
||||
|
||||
# Necessary to generate correct assembly when compiling for aarch32 on
|
||||
# aarch64
|
||||
|
|
Loading…
Reference in New Issue