]> granicus.if.org Git - clang/commit
Following the modification introduced in llvm by commit 185311
authorSylvestre Ledru <sylvestre@debian.org>
Mon, 1 Jul 2013 08:13:34 +0000 (08:13 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Mon, 1 Jul 2013 08:13:34 +0000 (08:13 +0000)
commitfcd0aa1ae9068f6762661b7e954e7c558eafe613
tree9262e833e74aaa0b92399ac993ad0f0f6bb5a8f4
parentbc54025b3f11edd8ef6762e36bf2855f28844fa0
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 #16445.

Patch by Robert Millan in the context of Debian.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185312 91177308-0d34-0410-b5e6-96231b3b80d8
tools/libclang/Makefile