freebsd-skq/share/mk
Dimitry Andric 883e0f87a4 During buildworld and buildkernel, define EARLY_BUILD in the earlier
stages (build-tools, cross-tools, etc) of the build, so we can detect in
bsd.*.mk whether to pass compiler-specific flags to ${CC}.

In particular, this commit will allow using WITH_CLANG_IS_CC when the
base compiler is still gcc, and when ${CC}, ${CXX} and ${CPP} are left
at their defaults.  The early stages will then be built using gcc, and
no clang-specific flags will be passed to it.  The later stages will be
built as usual.

The EARLY_BUILD define can also serve other uses, such as building the
world stage C++ executables with libc++ instead of libstdc++: during the
early build stages, we cannot assume libc++ is already available, so we
must still build with libstdc++ at that time.

MFC after:	1 week
2012-06-03 20:35:41 +00:00
..
bsd.arch.inc.mk
bsd.compat.mk
bsd.cpu.mk
bsd.crunchgen.mk Allow crunchgen binary link generation to be disabled. 2012-01-05 21:49:43 +00:00
bsd.dep.mk
bsd.doc.mk
bsd.dtrace.mk
bsd.endian.mk Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH. 2012-03-29 02:54:35 +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 Introduce the ${SHLIB_LDSCRIPT} variable to have an ld(1) script 2012-05-07 09:00:30 +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 build opton MK_LS_COLORS to control whether ls(1) supports colors 2012-05-19 18:05:00 +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 - CTF knob is now implemented using common scheme: MK_CTF=yes/no is 2011-11-30 18:11:49 +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
bsd.subdir.mk
bsd.symver.mk
bsd.sys.mk During buildworld and buildkernel, define EARLY_BUILD in the earlier 2012-06-03 20:35:41 +00:00
Makefile
sys.mk Sort nm in order. 2012-04-22 17:14:11 +00:00
version_gen.awk