mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
julia: fix i686 build
This commit is contained in:
parent
e6e338401f
commit
02fc4551f5
1 changed files with 1 additions and 11 deletions
|
@ -68,17 +68,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ gfortran git m4 patchelf perl which python2 ];
|
||||
|
||||
makeFlags =
|
||||
let
|
||||
arch = head (splitString "-" stdenv.system);
|
||||
march =
|
||||
{ "x86_64-linux" = "x86-64";
|
||||
"x86_64-darwin" = "x86-64";
|
||||
"i686-linux" = "i686";
|
||||
}."${stdenv.system}" or (throw "unsupported system: ${stdenv.system}");
|
||||
in [
|
||||
"ARCH=${arch}"
|
||||
"MARCH=${march}"
|
||||
"JULIA_CPU_TARGET=${march}"
|
||||
[
|
||||
"PREFIX=$(out)"
|
||||
"prefix=$(out)"
|
||||
"SHELL=${stdenv.shell}"
|
||||
|
|
Loading…
Reference in a new issue