libgcrypt: disable asm on musl

This commit is contained in:
Yorick van Pelt 2019-10-31 17:27:43 +07:00 committed by Alexander Bantyev
parent b3862e2bcf
commit 3df718e7c3
No known key found for this signature in database
GPG Key ID: E081FF12ADCB4AD5

View File

@ -27,7 +27,8 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional stdenv.isDarwin gettext
++ stdenv.lib.optional enableCapabilities libcap;
configureFlags = [ "--with-libgpg-error-prefix=${libgpgerror.dev}" ];
configureFlags = [ "--with-libgpg-error-prefix=${libgpgerror.dev}" ]
++ stdenv.lib.optional stdenv.hostPlatform.isMusl "--disable-asm";
# Make sure libraries are correct for .pc and .la files
# Also make sure includes are fixed for callers who don't use libgpgcrypt-config