Merge pull request #113752 from bobrik/ivan/libgcrypt-aarch64-darwin

libgcrypt: disable asm on aarch64-darwin
This commit is contained in:
Sandro 2021-02-21 08:29:28 +01:00 committed by GitHub
commit 66e89eecce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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