cctools-port: bump to 877.5

This commit is contained in:
Dan Peebles 2016-01-10 12:16:43 -05:00
parent 513994da9d
commit a63fa339a5

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoconf, automake, libtool_2 { stdenv, fetchFromGitHub, autoconf, automake, libtool_2
, llvm, libcxx, libcxxabi, clang, openssl, libuuid , llvm, libcxx, libcxxabi, clang, openssl, libuuid
, libobjc ? null , libobjc ? null
}: }:
@ -6,16 +6,13 @@
let let
baseParams = rec { baseParams = rec {
name = "cctools-port-${version}"; name = "cctools-port-${version}";
version = "862"; version = "877.5";
src = let src = fetchFromGitHub {
# Should be fetchFromGitHub but it was whining so this will do for now
owner = "tpoechtrager"; owner = "tpoechtrager";
repo = "cctools-port"; repo = "cctools-port";
rev = "59d21d2c793c51d205c8b4ab14b9b28e63c72445"; rev = "7d405492b09fa27546caaa989b8493829365deab";
in fetchurl { sha256 = "0nj1q5bqdx5jm68dispybxc7wnkb6p8p2igpnap9q6qyv2r9p07w";
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
sha256 = "01f31ijpnplbiyp7ldwzy8vbkn3j3m56n5blsvsav5nlp4lp2g71";
}; };
buildInputs = [ autoconf automake libtool_2 openssl libuuid ] ++ buildInputs = [ autoconf automake libtool_2 openssl libuuid ] ++
@ -59,6 +56,8 @@ let
sed -i -e 's|clang++|& -I${libcxx}/include/c++/v1|' cctools/autogen.sh sed -i -e 's|clang++|& -I${libcxx}/include/c++/v1|' cctools/autogen.sh
''; '';
# TODO: this builds an ld without support for LLVM's LTO. We need to teach it, but that's rather
# hairy to handle during bootstrap. Perhaps it could be optional?
preConfigure = '' preConfigure = ''
cd cctools cd cctools
sh autogen.sh sh autogen.sh