libnop: fix build

This commit is contained in:
t4ccer
2025-11-22 14:38:53 -03:30
parent 5fd3c32b9a
commit 346c300dc3
+4 -1
View File
@@ -29,7 +29,10 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ gtest ];
# Add optimization flags to address _FORTIFY_SOURCE warning
NIX_CFLAGS_COMPILE = [ "-O1" ];
NIX_CFLAGS_COMPILE = [
"-O1"
"-std=c++17"
];
installPhase = ''
runHook preInstall