usbguard: build with '-std=c++20'

Must match abseil-cpp's c++ version.

Fixes: https://github.com/NixOS/nixpkgs/issues/568672
This commit is contained in:
Marie Ramlow
2026-09-30 17:03:02 +02:00
parent 33febfda9a
commit 804af16f3e

View File

@@ -65,6 +65,11 @@ stdenv.mkDerivation (finalAttrs: {
"--with-polkit"
];
postPatch = ''
substituteInPlace configure.ac \
--replace-fail '-std=c++17' '-std=c++20'
'';
enableParallelBuilding = true;
postInstall = ''