diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2017-10-30 14:56:34 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-11-13 08:46:13 -0500 |
commit | e65259f00cee799a6640a7ef5100f2bce3cb9d6f (patch) | |
tree | f67a3d7d193eeba1eeb582959c76a8e2aada2683 /pkgs/development/compilers/llvm/3.5 | |
parent | d7bddc27b23da8ce7bc19cfeeeb0cbebdb5a4410 (diff) | |
download | nixlib-e65259f00cee799a6640a7ef5100f2bce3cb9d6f.tar nixlib-e65259f00cee799a6640a7ef5100f2bce3cb9d6f.tar.gz nixlib-e65259f00cee799a6640a7ef5100f2bce3cb9d6f.tar.bz2 nixlib-e65259f00cee799a6640a7ef5100f2bce3cb9d6f.tar.lz nixlib-e65259f00cee799a6640a7ef5100f2bce3cb9d6f.tar.xz nixlib-e65259f00cee799a6640a7ef5100f2bce3cb9d6f.tar.zst nixlib-e65259f00cee799a6640a7ef5100f2bce3cb9d6f.zip |
LLVM: Get binutils plugin header from libbfd
Diffstat (limited to 'pkgs/development/compilers/llvm/3.5')
-rw-r--r-- | pkgs/development/compilers/llvm/3.5/llvm.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/llvm/3.5/llvm.nix b/pkgs/development/compilers/llvm/3.5/llvm.nix index 26144e38619f..00b2548d56e6 100644 --- a/pkgs/development/compilers/llvm/3.5/llvm.nix +++ b/pkgs/development/compilers/llvm/3.5/llvm.nix @@ -6,7 +6,7 @@ , cmake , python , libffi -, binutils +, libbfd , libxml2 , valgrind , ncurses @@ -70,7 +70,7 @@ in stdenv.mkDerivation rec { ] ++ stdenv.lib.optional enableSharedLibraries "-DBUILD_SHARED_LIBS=ON" ++ stdenv.lib.optional (!isDarwin) - "-DLLVM_BINUTILS_INCDIR=${stdenv.lib.getDev binutils}/include" + "-DLLVM_BINUTILS_INCDIR=${libbfd.dev}/include" ++ stdenv.lib.optionals ( isDarwin) [ "-DCMAKE_CXX_FLAGS=-stdlib=libc++" "-DCAN_TARGET_i386=false" |