remove local pic flags, now set by hardened stdenv
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -33,8 +33,6 @@ stdenv.mkDerivation {
|
||||
"LAPACK="
|
||||
];
|
||||
|
||||
NIX_CFLAGS = "-fPIC";
|
||||
|
||||
postInstall = ''
|
||||
# Build and install shared library
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user