memcached: fix cross-compiling

This commit is contained in:
Jörg Thalheim 2018-12-11 22:17:11 +00:00
parent d66c960c23
commit 6b92dd38e1
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "0aav15f0lh8k4i62aza2bdv4s8vv65j38pz2zc4v45snd3arfby0";
};
configureFlags = [
"ac_cv_c_endian=${if stdenv.hostPlatform.isBigEndian then "big" else "little"}"
];
buildInputs = [cyrus_sasl libevent];
hardeningEnable = [ "pie" ];