]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
The build system is currently miss-identifying GNU/kFreeBSD as FreeBSD.
authorSylvestre Ledru <sylvestre@debian.org>
Mon, 1 Jul 2013 08:07:52 +0000 (08:07 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Mon, 1 Jul 2013 08:07:52 +0000 (08:07 +0000)
commitba62f2f1bf267e0437d8ea62474632f2f1eae34d
treed011ba77fa96acc160a1aca1ac2636b8359cae4e
parentc14380d1953acd5a735e1d8bcf18d0f96876da74
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 #16444.

Patch by Robert Millan in the context of Debian.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185311 91177308-0d34-0410-b5e6-96231b3b80d8
Makefile.rules
autoconf/configure.ac
configure
projects/sample/Makefile.llvm.rules
tools/llvm-shlib/Makefile