From f597e97236c9aad0470cc4744353e3e4c4c217b0 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Wed, 13 Jul 2016 19:27:26 +0200 Subject: [PATCH] atlas: Fix hardening --- pkgs/development/libraries/science/math/atlas/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/science/math/atlas/default.nix b/pkgs/development/libraries/science/math/atlas/default.nix index db8aff49c002..6ff7e387ec1f 100644 --- a/pkgs/development/libraries/science/math/atlas/default.nix +++ b/pkgs/development/libraries/science/math/atlas/default.nix @@ -66,6 +66,8 @@ stdenv.mkDerivation { patches = optional tolerateCpuTimingInaccuracy ./disable-timing-accuracy-check.patch ++ optional stdenv.isDarwin ./tmpdir.patch; + hardeningDisable = [ "format" ]; + # Configure outside of the source directory. preConfigure = '' mkdir build @@ -76,7 +78,6 @@ stdenv.mkDerivation { # * -t 0 disables use of multi-threading. It's not quite clear what the # consequences of that setting are and whether it's necessary or not. configureFlags = [ - "-Fa alg" "-t ${threads}" cpuConfig ] ++ optional shared "--shared"