xml-security-c: fix build with gcc 16

nixpkgs now defaults to gcc16, which defaults to gnu++20 standard.

Upstream needs to be patched, but in the meantime we can just use an older
standard.
This commit is contained in:
Clément
2026-10-01 11:23:56 +02:00
parent 92b8e9eeb5
commit 07b90f9ec1

View File

@@ -27,6 +27,8 @@ stdenv.mkDerivation (finalAttrs: {
"--with-xalan"
];
env.CXXFLAGS = "-std=gnu++17";
nativeBuildInputs = [
autoreconfHook
pkg-config