remove local pic flags, now set by hardened stdenv

This commit is contained in:
Robin Gloster
2016-01-28 01:46:59 +00:00
parent 8329066d5e
commit acb408646e
15 changed files with 3 additions and 32 deletions

View File

@@ -73,14 +73,10 @@ stdenv.mkDerivation {
configureScript=../configure
'';
# * -fPIC is passed even in non-shared builds so that the ATLAS code can be
# used to inside of shared libraries, like Octave does.
#
# * -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"
"-fPIC"
"-t ${threads}"
cpuConfig
] ++ optional shared "--shared"

View File

@@ -33,8 +33,6 @@ stdenv.mkDerivation {
"LAPACK="
];
NIX_CFLAGS = "-fPIC";
postInstall = ''
# Build and install shared library
(