From f1a4f201d2e5579a5eb08c97f32f5234d819f4f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 17 Apr 2022 10:19:54 +0200 Subject: [PATCH] log4shib: fixup build with gcc 11 https://hydra.nixos.org/build/173673855 --- pkgs/development/libraries/log4shib/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/log4shib/default.nix b/pkgs/development/libraries/log4shib/default.nix index 0602b4c3b523..1c9a6a1e2ac7 100644 --- a/pkgs/development/libraries/log4shib/default.nix +++ b/pkgs/development/libraries/log4shib/default.nix @@ -12,6 +12,8 @@ stdenv.mkDerivation { nativeBuildInputs = [ autoreconfHook ]; + NIX_CFLAGS_COMPILE = [ "-std=c++11" ]; + meta = with lib; { description = "A forked version of log4cpp that has been created for the Shibboleth project"; maintainers = [ maintainers.jammerful ];