From fc924fc34e5daf7f5b00800bd2728867fe8be06c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 30 May 2021 19:13:01 -0400 Subject: [PATCH] xfitter: remove `hardeningDisable = [ "format" ];` (#125001) Not needed after f42aa7e1 ('cc-wrapper: set FC when langFortran is on') (cherry picked from commit b72b3c557170013601ceffd8c94a40764d34d302) Co-authored-by: Dmitry Kalinkin --- pkgs/applications/science/physics/xfitter/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/applications/science/physics/xfitter/default.nix b/pkgs/applications/science/physics/xfitter/default.nix index 4390826ccee..230f2f0e0ef 100644 --- a/pkgs/applications/science/physics/xfitter/default.nix +++ b/pkgs/applications/science/physics/xfitter/default.nix @@ -16,9 +16,6 @@ stdenv.mkDerivation rec { ./undefined_behavior.patch ]; - # patch needs to updated due to version bump - #CXXFLAGS = "-Werror=return-type"; - preConfigure = # Fix F77LD to workaround for a following build error: # @@ -48,8 +45,6 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - hardeningDisable = [ "format" ]; - NIX_CFLAGS_COMPILE = lib.optional (stdenv.hostPlatform.libc == "glibc") "-I${libtirpc.dev}/include/tirpc"; NIX_LDFLAGS = lib.optional (stdenv.hostPlatform.libc == "glibc") "-ltirpc";