nixpkgs/pkgs/development/compilers/llvm/3.7
aszlig 44cb95a234
llvmPackages/libc++: Fix build against glibc 2.26
This is very similar to what we had in bb0b0822ef.

The xlocale.h header is no longer existing in glibc version 2.26, so we
need to avoid including it.

I've tested building against all of the libcxx attributes of LLVM 3.5,
3.7, 3.8, 3.9, 4 and 5.

All of them succeeded except version 3.5, which failed because of an
unrelated issue (build of libc++abi has failed, one of its
dependencies), so I only verified whether the patch applies cleanly.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @vcunat
2017-11-08 22:08:11 +01:00
..
clang xcbuild: assorted fixes and cleanups 2017-03-21 23:22:15 -04:00
libc++ llvmPackages/libc++: Fix build against glibc 2.26 2017-11-08 22:08:11 +01:00
default.nix llvm-packages: apply cc-wrapper/stdenv changes to older versions 2017-09-13 20:51:52 +02:00
libc++abi.nix llvmPackages_37.libcxxabi: fix with more recent versions of libc++ 2017-03-19 20:51:58 -04:00
lldb.nix LLVM: Fix licensing metadata, closes #22679. (#22681) 2017-02-11 23:13:29 +01:00
llvm.nix llvm 3.7--4: fixup build with glibc-2.26 2017-11-07 09:17:00 +01:00