git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #113752 from bobrik/ivan/libgcrypt-aarch64-darwin

libgcrypt: disable asm on aarch64-darwin

commit66e89eecce80d6361dac4db6dfdb2c8a3f05fb5e authorSandro <sandro.jaeckel@gmail.com> dateSun 21 Feb 2021, 08:29 (6 years ago) parent8455da9dd54d77
1 file changed+1−1
pkgs/development/libraries/libgcrypt/default.nix+1−1
pkgs/development/libraries/libgcrypt/default.nix+1−1
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 ++ lib.optional enableCapabilities libcap;
2929
3030 configureFlags = [ "--with-libgpg-error-prefix=${libgpgerror.dev}" ]
31− ++ lib.optional stdenv.hostPlatform.isMusl "--disable-asm";
31+ ++ lib.optional (stdenv.hostPlatform.isMusl || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)) "--disable-asm"; # for darwin see https://dev.gnupg.org/T5157
3232
3333 # Necessary to generate correct assembly when compiling for aarch32 on
3434 # aarch64