libmemcached: -fpermissive to fixup build with gcc7

This commit is contained in:
Vladimír Čunát 2018-02-17 16:34:39 +01:00
parent 7d19d7ee18
commit eea55393ab
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
buildInputs = [ libevent ]; buildInputs = [ libevent ];
propagatedBuildInputs = [ cyrus_sasl ]; propagatedBuildInputs = [ cyrus_sasl ];
NIX_CFLAGS_COMPILE = [ "-fpermissive"/*gcc7*/ ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://libmemcached.org; homepage = http://libmemcached.org;
description = "Open source C/C++ client library and tools for the memcached server"; description = "Open source C/C++ client library and tools for the memcached server";