libgcrypt: disable asm on aarch64-darwin
See: https://dev.gnupg.org/T5157
This commit is contained in:
parent
b0dcc5bb97
commit
dd54d77845
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optional enableCapabilities libcap;
|
++ lib.optional enableCapabilities libcap;
|
||||||
|
|
||||||
configureFlags = [ "--with-libgpg-error-prefix=${libgpgerror.dev}" ]
|
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
|
# Necessary to generate correct assembly when compiling for aarch32 on
|
||||||
# aarch64
|
# aarch64
|
||||||
|
|
Loading…
Reference in a new issue