From 761acfcd01145dba03fd126e5532d22c809fd6bd Mon Sep 17 00:00:00 2001 From: qbisi Date: Wed, 24 Sep 2025 04:47:19 +0800 Subject: [PATCH] petsc: remove hardeningDisable options Disabling fortify is no longer required for debug builds. --- pkgs/by-name/pe/petsc/package.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/by-name/pe/petsc/package.nix b/pkgs/by-name/pe/petsc/package.nix index f0ceca6a100f..eb43dea2d22b 100644 --- a/pkgs/by-name/pe/petsc/package.nix +++ b/pkgs/by-name/pe/petsc/package.nix @@ -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;