From e5bbf35b680cfebb5ef9a147985e702d75037912 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Thu, 17 Mar 2016 16:13:34 +0100 Subject: [PATCH] julia-git: pass march=pentium4 for i686 targets https://hydra.nixos.org/build/33235880/nixlog/1/raw --- pkgs/development/compilers/julia/git.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/julia/git.nix b/pkgs/development/compilers/julia/git.nix index 2f4ce2f4b9e6..49c26592f2e8 100644 --- a/pkgs/development/compilers/julia/git.nix +++ b/pkgs/development/compilers/julia/git.nix @@ -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}"