libnop: fix build (#464058)

This commit is contained in:
Aleksana
2025-11-23 03:47:12 +00:00
committed by GitHub
+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