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
..
2012-02-25 10:58:02 +00:00
2012-02-26 13:57:24 +00:00
2011-12-13 14:53:26 +00:00
2010-12-04 08:44:56 +00:00
2012-02-11 20:43:01 +00:00
2012-02-25 16:02:12 +00:00
2012-02-10 13:47:40 +00:00
2011-11-18 09:56:40 +00:00
2012-02-25 14:31:25 +00:00
2011-09-28 14:52:25 +00:00
2012-02-25 14:31:25 +00:00
2011-12-30 10:45:00 +00:00