Following the modification introduced in llvm by commit 185311
authorSylvestre Ledru <sylvestre@debian.org>
Mon, 1 Jul 2013 08:21:36 +0000 (08:21 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Mon, 1 Jul 2013 08:21:36 +0000 (08:21 +0000)
commit594058394e7ddbeb8ce91d798c34fd8d2ee1e0da
tree03a14a41bd46fda42450bece3f08933e68b6fa1a
parent103b51c72ead880e612d436ba59dbf678cc2aa16
Following the modification introduced in llvm by commit 185311

The build system is currently miss-identifying GNU/kFreeBSD as FreeBSD.
This kind of simplification is sometimes useful, but in general it's not correct.

As GNU/kFreeBSD is an hybrid system, for kernel-related issues we want to match the
build definitions used for FreeBSD, whereas for userland-related issues we want to
match the definitions used for other systems with Glibc.

The current modification adjusts the build system so that they can be distinguished,
and explicitly adds GNU/kFreeBSD to the build checks in which it belongs.

Fixes bug #16446.

Patch by Robert Millan in the context of Debian.

llvm-svn: 185313
lldb/include/lldb/Host/Config.h
lldb/lib/Makefile
lldb/source/Host/Makefile
lldb/source/Host/common/Host.cpp
lldb/source/Plugins/Makefile
lldb/source/Plugins/Platform/Makefile
lldb/source/Plugins/Process/POSIX/Makefile
lldb/tools/driver/Makefile
lldb/tools/lldb-platform/Makefile