freebsd-nq/share/mk
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
..
bsd.arch.inc.mk Merge from tbemd 2010-06-11 02:50:53 +00:00
bsd.compat.mk Align the warning message with the one in bsd.own.mk. 2007-10-20 18:46:15 +00:00
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 Don't pass -o1- to groff(1) by default. If ms(7) formatted document 2011-06-03 11:58:17 +00:00
bsd.dtrace.mk Add a comment describing where to include bsd.dtrace.mk. 2010-09-11 10:11:59 +00:00
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 Fix comma splice, can't ambiguity and quoting. 2012-02-16 21:04:47 +00:00
bsd.lib.mk Amend r227797 by also passing ${STATIC_CXXFLAGS} for the other supported 2012-06-09 11:41:29 +00:00
bsd.libnames.mk Add missing LIBPROCSTAT. 2012-05-19 04:57:37 +00:00
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 Revert unapproved commit to bsd.port.mk. 2011-10-08 18:25:01 +00:00
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 Fix an inconsistency I just ran into for LDADD and DPADD. The description 2012-05-24 20:00:58 +00:00
bsd.snmpmod.mk Add an additional make variable EXTRAMIBSYMS which allows to specify 2008-01-08 12:55:56 +00:00
bsd.subdir.mk Make `make cleanilinks' work in /sys/modules. 2009-12-06 08:59:19 +00:00
bsd.symver.mk Explicitly verify if we have found the VERSION_GEN script 2007-10-18 15:21:35 +00:00
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 Distinguish the cases when a dup symbol is in different versions 2007-10-18 10:32:28 +00:00