Skip to content

Commit

Permalink
llvm7: backport patches, fix building rust crates with lto
Browse files Browse the repository at this point in the history
See: rust-lang/rust#57762
(cherry picked from commit c340704)
  • Loading branch information
lblasc authored and vcunat committed Feb 1, 2019
1 parent 75df522 commit 0ae0273
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/compilers/llvm/7/llvm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ in stdenv.mkDerivation (rec {
url = "/~https://github.com/llvm-mirror/llvm/commit/57567def148f387153a8149fb590bd39b1b006a1.patch";
sha256 = "1w1xg5pxpc6cals1nf5j5k4p6qi8lcrpvn0paxc86m415i79xmcg";
})
# backport, fix building rust crates with lto
(fetchpatch {
url = "/~https://github.com/llvm-mirror/llvm/commit/da1fb72bb305d6bc1f3899d541414146934bf80f.patch";
sha256 = "0p81gkhc1xhcx0hmnkwyhrn8x8l8fd24xgaj1whni29yga466dwc";
})
(fetchpatch {
url = "/~https://github.com/llvm-mirror/llvm/commit/cc1f2a595ead516812a6c50398f0f3480ebe031f.patch";
sha256 = "0k6k1p5yisgwx417a67s7sr9930rqh1n0zv5jvply8vjjy4b3kf8";
})
];

postPatch = optionalString stdenv.isDarwin ''
Expand Down

0 comments on commit 0ae0273

Please sign in to comment.