mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
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:
@@ -27,6 +27,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--with-xalan"
|
||||
];
|
||||
|
||||
env.CXXFLAGS = "-std=gnu++17";
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
|
||||
Reference in New Issue
Block a user