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-08-23 06:13:29 +00:00
2012-02-16 22:59:29 +00:00
2010-07-23 11:00:46 +00:00
2008-05-19 01:53:47 +00:00
2011-01-06 21:04:00 +00:00
2011-01-06 21:04:00 +00:00
2010-08-23 06:13:29 +00:00
2008-04-07 11:26:13 +00:00
2010-08-23 06:13:29 +00:00
2011-12-16 14:28:34 +00:00
2011-12-30 21:22:10 +00:00
2010-08-23 06:13:29 +00:00
2010-10-13 14:44:38 +00:00
2010-08-23 06:13:29 +00:00
2011-12-16 02:09:51 +00:00
2010-08-23 06:13:29 +00:00
2009-06-05 18:44:36 +00:00
2010-09-16 09:29:48 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2012-02-16 21:57:50 +00:00
2009-03-26 19:15:31 +00:00
2008-05-22 21:53:15 +00:00
2008-05-27 01:54:45 +00:00
2010-08-23 06:13:29 +00:00
2009-02-07 18:49:42 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2012-02-11 08:34:33 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2009-08-23 20:26:09 +00:00
2008-05-05 20:19:33 +00:00
2010-08-15 15:33:01 +00:00
2010-08-19 11:31:03 +00:00
2010-08-23 06:13:29 +00:00
2008-08-07 20:51:51 +00:00
2008-11-05 15:04:03 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-10-13 14:44:38 +00:00
2007-06-29 05:23:15 +00:00
2010-08-13 04:00:35 +00:00
2011-03-20 21:05:09 +00:00
2010-08-23 06:13:29 +00:00
2012-02-16 21:57:50 +00:00
2012-02-16 21:57:50 +00:00
2012-01-17 18:20:34 +00:00