summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-03-17 16:13:34 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2016-03-17 16:15:04 +0100
commite5bbf35b680cfebb5ef9a147985e702d75037912 (patch)
treea8de9fee902332ceee2c5c534f007c0a83c6c813 /pkgs
parentb8635a2f450b8b9f07c9e9cb74158b9a0a962aea (diff)
downloadnixpkgs-e5bbf35b680cfebb5ef9a147985e702d75037912.tar
nixpkgs-e5bbf35b680cfebb5ef9a147985e702d75037912.tar.gz
nixpkgs-e5bbf35b680cfebb5ef9a147985e702d75037912.tar.bz2
nixpkgs-e5bbf35b680cfebb5ef9a147985e702d75037912.tar.lz
nixpkgs-e5bbf35b680cfebb5ef9a147985e702d75037912.tar.xz
nixpkgs-e5bbf35b680cfebb5ef9a147985e702d75037912.tar.zst
nixpkgs-e5bbf35b680cfebb5ef9a147985e702d75037912.zip
julia-git: pass march=pentium4 for i686 targets
https://hydra.nixos.org/build/33235880/nixlog/1/raw
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/julia/git.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/julia/git.nix b/pkgs/development/compilers/julia/git.nix
index 2f4ce2f4b9e..49c26592f2e 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}"