i2pd: remove unused USE_AVX flag, mark as broken on darwin (#351445)

This commit is contained in:
Rick van Schijndel 2024-10-28 07:05:12 +01:00 committed by GitHub
commit 9d42cf2012
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,6 @@
, boost, zlib, openssl
, upnpSupport ? true, miniupnpc
, aesniSupport ? stdenv.hostPlatform.aesSupport
, avxSupport ? stdenv.hostPlatform.avxSupport
}:
stdenv.mkDerivation rec {
@ -27,7 +26,6 @@ stdenv.mkDerivation rec {
makeFlags =
let ynf = a: b: a + "=" + (if b then "yes" else "no"); in
[ (ynf "USE_AESNI" aesniSupport)
(ynf "USE_AVX" avxSupport)
(ynf "USE_UPNP" upnpSupport)
];
@ -46,5 +44,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ edwtjo ];
platforms = platforms.unix;
mainProgram = "i2pd";
broken = stdenv.hostPlatform.isDarwin;
};
}