update libcxx[abi] to 3.5

This commit is contained in:
Eric Seidel
2015-02-03 14:02:59 -08:00
parent 2ca30151c2
commit 6f7632a7bd
3 changed files with 36 additions and 25 deletions
+2 -3
View File
@@ -9,7 +9,6 @@
, cc ? null, libc ? null, binutils ? null, coreutils ? null, shell ? stdenv.shell
, zlib ? null, extraPackages ? []
, setupHook ? ./setup-hook.sh
, libcxx ? null, libcxxabi ? null
}:
with stdenv.lib;
@@ -35,7 +34,7 @@ stdenv.mkDerivation {
preferLocalBuild = true;
inherit cc shell libcxx libcxxabi;
inherit cc shell;
libc = if nativeLibc then null else libc;
binutils = if nativeTools then null else binutils;
# The wrapper scripts use 'cat', so we may need coreutils.
@@ -88,7 +87,7 @@ stdenv.mkDerivation {
''
+ (if nativeTools then ''
ccPath="${nativePrefix}/bin"
ccPath="${if stdenv.isDarwin then cc else nativePrefix}/bin"
ldPath="${nativePrefix}/bin"
'' else ''
echo $cc > $out/nix-support/orig-cc