From 1004d44d80ebbfb3eab4deea3cd7c50f51c681e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 4 Oct 2015 10:12:56 +0200 Subject: [PATCH] llvm-3.7: fix build by -lpthread This is strange. Morover, 3.6 builds fine without modifications. --- pkgs/development/compilers/llvm/3.7/llvm.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/llvm/3.7/llvm.nix b/pkgs/development/compilers/llvm/3.7/llvm.nix index 4ff61b27878..361ae4ba117 100644 --- a/pkgs/development/compilers/llvm/3.7/llvm.nix +++ b/pkgs/development/compilers/llvm/3.7/llvm.nix @@ -51,6 +51,8 @@ in stdenv.mkDerivation rec { "-DCAN_TARGET_i386=false" ]; + NIX_LDFLAGS = "-lpthread"; # no idea what's the problem + postBuild = '' rm -fR $out