libgcrypt: attempt to fix i686-freebsd builds, #616

It would probably be better to get newer "as" from somewhere, but I
don't see how.
This commit is contained in:
Vladimír Čunát 2013-06-13 10:00:04 +02:00
parent 71439b3e96
commit e931f3b935

View file

@ -1,6 +1,6 @@
{ fetchurl, stdenv, libgpgerror }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (rec {
name = "libgcrypt-1.5.2";
src = fetchurl {
@ -34,4 +34,8 @@ stdenv.mkDerivation rec {
homepage = http://gnupg.org/;
platforms = stdenv.lib.platforms.all;
};
}
} # old "as" problem, see #616 and http://gnupg.10057.n7.nabble.com/Fail-to-build-on-freebsd-7-3-td30245.html
// stdenv.lib.optionalAttrs (stdenv.isFreeBSD && stdenv.isi686)
{ configureFlags = [ "--disable-aesni-support" ]; }
)