xfitter: fix for recent clang (#288816)

authored by Dmitry Kalinkin and committed by GitHub 3b27f2ac fc1b4c9c

+2
+2
pkgs/applications/science/physics/xfitter/default.nix
··· 47 env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.hostPlatform.libc == "glibc") "-I${libtirpc.dev}/include/tirpc"; 48 NIX_LDFLAGS = lib.optional (stdenv.hostPlatform.libc == "glibc") "-ltirpc"; 49 50 # workaround wrong library IDs 51 postInstall = lib.optionalString stdenv.isDarwin '' 52 ln -sv "$out/lib/xfitter/"* "$out/lib/"
··· 47 env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.hostPlatform.libc == "glibc") "-I${libtirpc.dev}/include/tirpc"; 48 NIX_LDFLAGS = lib.optional (stdenv.hostPlatform.libc == "glibc") "-ltirpc"; 49 50 + hardeningDisable = [ "format" ]; 51 + 52 # workaround wrong library IDs 53 postInstall = lib.optionalString stdenv.isDarwin '' 54 ln -sv "$out/lib/xfitter/"* "$out/lib/"