diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-10-04 10:12:56 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-10-04 10:16:34 +0200 |
commit | 1004d44d80ebbfb3eab4deea3cd7c50f51c681e5 (patch) | |
tree | 28e1404a89fe474fe91d8c57fd7dc08e5eacae75 | |
parent | 7434b8c29f977f84ffbe3e2f6d12fd8346b95d18 (diff) | |
download | nixlib-1004d44d80ebbfb3eab4deea3cd7c50f51c681e5.tar nixlib-1004d44d80ebbfb3eab4deea3cd7c50f51c681e5.tar.gz nixlib-1004d44d80ebbfb3eab4deea3cd7c50f51c681e5.tar.bz2 nixlib-1004d44d80ebbfb3eab4deea3cd7c50f51c681e5.tar.lz nixlib-1004d44d80ebbfb3eab4deea3cd7c50f51c681e5.tar.xz nixlib-1004d44d80ebbfb3eab4deea3cd7c50f51c681e5.tar.zst nixlib-1004d44d80ebbfb3eab4deea3cd7c50f51c681e5.zip |
llvm-3.7: fix build by -lpthread
This is strange. Morover, 3.6 builds fine without modifications.
-rw-r--r-- | pkgs/development/compilers/llvm/3.7/llvm.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/3.7/llvm.nix b/pkgs/development/compilers/llvm/3.7/llvm.nix index 4ff61b278783..361ae4ba1177 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 |