From 5a25e3e7e9a27e7195289d954c24b42640bc9567 Mon Sep 17 00:00:00 2001 From: luc65r Date: Mon, 8 Jun 2020 14:21:49 +0200 Subject: [PATCH] dhcp: fix build with gcc10 --- pkgs/tools/networking/dhcp/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/networking/dhcp/default.nix b/pkgs/tools/networking/dhcp/default.nix index 5222f731efb..f0d465a40e9 100644 --- a/pkgs/tools/networking/dhcp/default.nix +++ b/pkgs/tools/networking/dhcp/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { "-Wno-error=format-truncation" "-Wno-error=stringop-truncation" "-Wno-error=format-overflow" + "-Wno-error=stringop-overflow=8" ]; installFlags = [ "DESTDIR=\${out}" ];