librsb: move env variable(s) into env for structuredAttrs
This commit is contained in:
@@ -45,14 +45,16 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
# Ensure C/Fortran code is position-independent.
|
||||
env.NIX_CFLAGS_COMPILE = toString [
|
||||
"-fPIC"
|
||||
"-Ofast"
|
||||
];
|
||||
FCFLAGS = [
|
||||
"-fPIC"
|
||||
"-Ofast"
|
||||
];
|
||||
env = {
|
||||
NIX_CFLAGS_COMPILE = toString [
|
||||
"-fPIC"
|
||||
"-Ofast"
|
||||
];
|
||||
FCFLAGS = toString [
|
||||
"-fPIC"
|
||||
"-Ofast"
|
||||
];
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user