3
0
Fork 0
forked from mirrors/nixpkgs

julia-git: pass march=pentium4 for i686 targets

https://hydra.nixos.org/build/33235880/nixlog/1/raw
This commit is contained in:
Joachim Fasting 2016-03-17 16:13:34 +01:00
parent b8635a2f45
commit e5bbf35b68

View file

@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
makeFlags =
let
arch = head (splitString "-" stdenv.system);
march = { "x86_64" = "x86-64"; "i686" = "i686"; }."${arch}"
march = { "x86_64" = "x86-64"; "i686" = "pentium4"; }."${arch}"
or (throw "unsupported architecture: ${arch}");
# Julia requires Pentium 4 (SSE2) or better
cpuTarget = { "x86_64" = "x86-64"; "i686" = "pentium4"; }."${arch}"