Brooks Davis 9215d178a4 Introduce a new make variable COMPILER_TYPE that specifies what
type of compiler is being used (currently clang or gcc).  COMPILER_TYPE
is set in the new bsd.compiler.mk file based on the value of the CC
variable or, should it prove informative, by running ${CC} --version
and examining the output.

To avoid negative performance impacts in the default case and correct
value for COMPILER_TYPE type is determined and passed in the environment
of submake instances while building world.

Replace adhoc attempts at determining the compiler type by examining
CC or MK_CLANG_IS_CC with checks of COMPILER_TYPE.  This eliminates
bootstrapping complications when first setting WITH_CLANG_IS_CC.

Sponsored by:	DARPA, AFRL
Reviewed by:	Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>, imp, linimon
		(with some modifications post review)
MFC after:	2 weeks
2012-09-13 16:00:46 +00:00
..
2012-09-12 10:12:03 +00:00
2012-08-16 00:53:23 +00:00
2012-08-03 12:55:31 +00:00
2012-09-09 08:14:04 +00:00
2012-08-16 19:22:34 +00:00
2012-08-16 13:01:56 +00:00
2012-08-26 01:21:02 +00:00
2012-04-16 10:33:46 +00:00
2012-09-02 21:04:40 +00:00