Dimitry Andric 07b202a847 Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to
get rid of testing explicitly for clang (using ${CC:T:Mclang}) in
individual Makefiles.

Instead, use the following extra macros, for use with clang:
- NO_WERROR.clang       (disables -Werror)
- NO_WCAST_ALIGN.clang  (disables -Wcast-align)
- NO_WFORMAT.clang	(disables -Wformat and friends)
- CLANG_NO_IAS		(disables integrated assembler)
- CLANG_OPT_SMALL	(adds flags for extra small size optimizations)

As a side effect, this enables setting CC/CXX/CPP in src.conf instead of
make.conf!  For clang, use the following:

CC=clang
CXX=clang++
CPP=clang-cpp

MFC after:	2 weeks
2012-02-28 18:30:18 +00:00
..
2010-12-06 10:24:06 +00:00
2012-02-16 23:05:09 +00:00
2011-06-24 07:05:20 +00:00
2010-02-26 09:41:16 +00:00
2011-11-06 16:40:17 +00:00
2012-01-13 09:08:41 +00:00
2012-01-12 00:34:33 +00:00
2011-12-30 10:58:14 +00:00
2011-12-30 10:58:14 +00:00
2011-12-30 10:58:14 +00:00
2011-12-30 10:58:14 +00:00
2010-12-20 08:54:30 +00:00
2011-06-24 07:05:20 +00:00
2010-12-20 09:36:54 +00:00
2011-12-30 10:58:14 +00:00
2011-12-30 10:58:14 +00:00
2011-12-30 10:58:14 +00:00
2011-11-13 06:39:49 +00:00
2011-12-11 19:22:42 +00:00
2011-12-30 10:58:14 +00:00
2011-12-30 10:58:14 +00:00
2011-12-30 10:58:14 +00:00
2011-08-06 09:11:30 +00:00
2010-10-05 06:31:11 +00:00
2011-12-30 10:58:14 +00:00
2010-07-30 11:58:18 +00:00
2012-02-11 20:28:42 +00:00
2011-12-30 10:58:14 +00:00
2012-02-09 08:33:04 +00:00
2012-02-11 20:28:42 +00:00
2011-01-27 14:16:12 +00:00