1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

atlas: Fix hardening

This commit is contained in:
Franz Pletz 2016-07-13 19:27:26 +02:00
parent 0cee9febc5
commit f597e97236

View file

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