llvm (merge amend): fix evaluation

Regular binutils now include gold.
This commit is contained in:
Vladimír Čunát 2013-09-02 15:45:29 +02:00
parent 74488e2b58
commit 9475e4d50a

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, groff, cmake, python, libffi, binutils_gold }:
{ stdenv, fetchurl, perl, groff, cmake, python, libffi, binutils }:
let version = "3.3"; in
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
cmakeFlags = with stdenv; [
"-DCMAKE_BUILD_TYPE=Release"
"-DLLVM_ENABLE_FFI=ON"
"-DLLVM_BINUTILS_INCDIR=${binutils_gold}/include"
"-DLLVM_BINUTILS_INCDIR=${binutils}/include"
] ++ lib.optional (!isDarwin) [ "-DBUILD_SHARED_LIBS=ON" ];
enableParallelBuilding = true;