mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
collectd: Fix build on Glibc 2.24
This commit is contained in:
parent
a12b2bfb8b
commit
415e1983ca
|
@ -52,7 +52,8 @@ stdenv.mkDerivation rec {
|
|||
stdenv.lib.optional (libsigrok != null) "--with-libsigrok" ++
|
||||
stdenv.lib.optional (python != null) "--with-python=${python}/bin/python";
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
|
||||
# Fix build on Glibc 2.24.
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=cpp -Wno-error=deprecated-declarations";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Daemon which collects system performance statistics periodically";
|
||||
|
|
Loading…
Reference in a new issue