forked from mirrors/nixpkgs
llvm (merge amend): fix evaluation
Regular binutils now include gold.
This commit is contained in:
parent
74488e2b58
commit
9475e4d50a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue