xfitter: remove `hardeningDisable = [ "format" ];`

Not needed after f42aa7e1 ('cc-wrapper: set FC when langFortran is on')
launchpad/nixpkgs/master
Dmitry Kalinkin 3 years ago
parent 42000bdb89
commit b72b3c5571
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
  1. 5
      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";

Loading…
Cancel
Save