forked from mirrors/nixpkgs
libc++abi: Drop dependency on libunwind
This appears no longer needed (libc++abi has its own libunwind). It also prevents every libc++ user from depending on liblzma.
This commit is contained in:
parent
3ac28c3645
commit
34f6e629b5
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, libcxx, libunwind, coreutils, gnused }:
|
||||
{ lib, stdenv, fetchurl, libcxx, coreutils, gnused }:
|
||||
|
||||
let rev = "199626"; in
|
||||
|
||||
|
@ -19,9 +19,6 @@ stdenv.mkDerivation {
|
|||
export NIX_CFLAGS_COMPILE="-I$PWD/include -I$(readlink -f libcxx-*)/include"
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
export TRIPLE=x86_64-apple-darwin
|
||||
'' + lib.optionalString (!stdenv.isDarwin) ''
|
||||
export NIX_CFLAGS_COMPILE+=" -I${libunwind}/include"
|
||||
export NIX_CFLAGS_LINK+=" -L${libunwind}/lib -lunwind"
|
||||
'';
|
||||
|
||||
installPhase = if stdenv.isDarwin
|
||||
|
|
Loading…
Reference in a new issue