freebsd-skq/share/mk
brooks f17cb55447 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
..
bsd.arch.inc.mk
bsd.compat.mk
bsd.compiler.mk Introduce a new make variable COMPILER_TYPE that specifies what 2012-09-13 16:00:46 +00:00
bsd.cpu.mk Merging of projects/armv6, part 3 2012-08-15 03:21:56 +00:00
bsd.crunchgen.mk Ensure crunchen uses the same make binary as the rest of the build. 2012-06-25 21:56:36 +00:00
bsd.dep.mk Make sure bsd.dep.mk does not filter out -stdlib=xxx from CXXFLAGS, 2012-08-23 17:03:33 +00:00
bsd.doc.mk
bsd.dtrace.mk
bsd.endian.mk Merging of projects/armv6, part 3 2012-08-15 03:21:56 +00:00
bsd.files.mk
bsd.incs.mk
bsd.info.mk
bsd.init.mk
bsd.kmod.mk
bsd.lib.mk
bsd.libnames.mk
bsd.links.mk
bsd.man.mk
bsd.nls.mk
bsd.obj.mk
bsd.own.mk Add MK_KDUMP. 2012-09-12 14:58:07 +00:00
bsd.pkg.mk
bsd.port.mk
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk When using -stdlib=libc++, add the correct dependency to .depend in 2012-08-25 19:30:15 +00:00
bsd.README
bsd.snmpmod.mk
bsd.subdir.mk
bsd.symver.mk
bsd.sys.mk Introduce a new make variable COMPILER_TYPE that specifies what 2012-09-13 16:00:46 +00:00
Makefile Introduce a new make variable COMPILER_TYPE that specifies what 2012-09-13 16:00:46 +00:00
sys.mk Merging of projects/armv6, part 3 2012-08-15 03:21:56 +00:00
version_gen.awk