xfitter: remove hardeningDisable = [ "format" ];

Not needed after f42aa7e1 ('cc-wrapper: set FC when langFortran is on')
This commit is contained in:
Dmitry Kalinkin 2021-05-30 18:26:05 -04:00
parent 42000bdb89
commit b72b3c5571
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -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";