llvm/projects/sample
Sylvestre Ledru ba62f2f1bf 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
2013-07-01 08:07:52 +00:00
..
autoconf Don't define LTDL_SHLIBPATH_VAR. 2013-06-11 19:04:13 +00:00
docs Add "sample" documentation to sample project. 2008-09-15 05:31:29 +00:00
include Eliminate tabs and trailing spaces 2005-04-23 21:26:11 +00:00
lib I swear I did a make clean and make before committing all this... 2010-11-29 18:47:54 +00:00
tools Clean up the sample include orderings, not that it really matters... 2012-12-04 10:46:21 +00:00
configure Don't define LTDL_SHLIBPATH_VAR. 2013-06-11 19:04:13 +00:00
Makefile oops 2005-07-05 16:36:18 +00:00
Makefile.common.in projects/sample: Switch over to imported Makefile setup. 2011-10-27 21:25:09 +00:00
Makefile.llvm.config.in Add --enable-werror and --enable-cxx11 to projects/sample/ 2012-11-12 06:11:12 +00:00
Makefile.llvm.rules The build system is currently miss-identifying GNU/kFreeBSD as FreeBSD. 2013-07-01 08:07:52 +00:00