petsc: remove hardeningDisable options

Disabling fortify is no longer required for debug builds.
This commit is contained in:
qbisi
2025-09-28 01:19:20 +08:00
parent 78574df36c
commit 761acfcd01
-5
View File
@@ -198,11 +198,6 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optional withFftw "--with-fftw=1"
++ lib.optional withSuitesparse "--with-suitesparse=1";
hardeningDisable = lib.optionals debug [
"fortify"
"fortify3"
];
installTargets = [ (if withExamples then "install" else "install-lib") ];
enableParallelBuilding = true;