freebsd-nq/share/mk
Ed Maste e4e5829b11 Disable LLD_IS_LD option combinations that fail
If WITH_LLD is disabled LLD is not built and cannot be installed as
/usr/bin/ld, so disable WITH_LLD_IS_LD.

Currently we do not compare the LLD host/in-tree version and LLD
requires the LLVM libraries to be built, so force WITH_SYSTEM_COMPILER
off when WITH_LLD_IS_LD is set.

The logic for bootstrapping LLD requires some tidying later. We should
be able to detect that the host linker is the same version and avoid
building LLD in the same way that WITH_SYSTEM_COMPILER handles Clang.
We also may be able to extend libllvmminimal to meet LLD's needs.  For
now this change unbreaks buildworld with default settings except for
WITH_LLD_IS_LD.

Reported by:	Shawn Webb
Reviewed by:	bdrewery
Tested by:	Shawn Webb
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D9487
2017-02-09 14:47:34 +00:00
..
atf.test.mk
auto.obj.mk
bsd.arch.inc.mk
bsd.clang-analyze.mk
bsd.compiler.mk Detect clang on macOS. The version string is slightly different. 2016-10-24 17:59:25 +00:00
bsd.confs.mk DIRDEPS_BUILD: Fix '/' in group names creating a bad cookie. 2016-12-03 05:29:35 +00:00
bsd.cpu.mk Add full softfloat and hardfloat support for RISC-V. 2016-11-16 15:21:32 +00:00
bsd.crunchgen.mk DIRDEPS_BUILD: Include crunched object meta files for gendirdeps. 2016-09-01 23:52:20 +00:00
bsd.dep.mk DIRDEPS_BUILD: Consolidate some logic for skipping of reading Makefile.depend. 2016-11-13 00:11:05 +00:00
bsd.doc.mk Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
bsd.dtb.mk
bsd.endian.mk Add full softfloat and hardfloat support for MIPS. 2016-10-31 15:33:58 +00:00
bsd.files.mk DIRDEPS_BUILD: Fix '/' in group names creating a bad cookie. 2016-12-03 05:29:35 +00:00
bsd.incs.mk DIRDEPS_BUILD: Fix '/' in group names creating a bad cookie. 2016-12-03 05:29:35 +00:00
bsd.info.mk Revert r301079. 2016-06-03 19:25:36 +00:00
bsd.init.mk Consolidate the "don't build" optimizations into _SKIP_BUILD. 2016-11-13 00:11:02 +00:00
bsd.kmod.mk WITH_META_MODE: Resolve SYSDIR to avoid changed build commands. 2016-05-31 23:08:43 +00:00
bsd.lib.mk Always set CLEANFILES, even if not building. 2016-11-13 00:10:56 +00:00
bsd.libnames.mk Create libefivar library. This library aims to provide 2016-10-11 22:30:41 +00:00
bsd.links.mk
bsd.man.mk Revert r301079. 2016-06-03 19:25:36 +00:00
bsd.mkopt.mk
bsd.nls.mk Revert r301079. 2016-06-03 19:25:36 +00:00
bsd.obj.mk AUTO_OBJ: Support SRCS/DPSRCS that contain '/' and require a nested OBJDIR. 2016-08-30 22:48:05 +00:00
bsd.opts.mk
bsd.own.mk Revert r309339, thus re-instating r309314 2016-12-16 23:05:47 +00:00
bsd.port.mk
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk Add rules to build LLVM IR binaries and libraries. 2016-11-01 21:27:42 +00:00
bsd.progs.mk PROGS: Support INTERNALPROG.prog=yes to not install it. 2016-08-11 17:06:48 +00:00
bsd.README Add a make target (smilint) for running smilint tool against BMIBS 2017-01-17 03:38:49 +00:00
bsd.snmpmod.mk Add a make target (smilint) for running smilint tool against BMIBS 2017-01-17 03:38:49 +00:00
bsd.stand.mk Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
bsd.subdir.mk DIRDEPS_BUILD: Consolidate some logic for skipping of reading Makefile.depend. 2016-11-13 00:11:05 +00:00
bsd.suffixes-posix.mk Extract suffix rules into bsd.suffixes[-posix].mk. 2016-10-12 00:42:46 +00:00
bsd.suffixes.mk Revert r307823 (Use upstream suffixes for LLVM IR) for now. It causes a 2016-10-27 18:46:52 +00:00
bsd.symver.mk
bsd.sys.mk Disable -Waddress-of-packed-member for WARNS <= 3. 2017-01-08 14:49:50 +00:00
bsd.test.mk Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
dirdeps.mk Update meta* from bmake-20161212 2016-12-23 02:57:00 +00:00
gendirdeps.mk Update meta* from bmake-20161212 2016-12-23 02:57:00 +00:00
host-target.mk
install-new.mk
local.autodep.mk
local.dirdeps.mk DIRDEPS_BUILD: Exclude secure/lib* libraries for host builds. 2016-05-04 03:13:48 +00:00
local.gendirdeps.mk DIRDEPS_BUILD: Clang headers are now in lib/clang/headers 2016-09-02 19:28:24 +00:00
local.init.mk
local.meta.sys.mk Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
local.sys.env.mk
local.sys.mk WITH_META_MODE: Enable printing of some of make's environment on error. 2016-06-14 16:20:25 +00:00
Makefile Extract suffix rules into bsd.suffixes[-posix].mk. 2016-10-12 00:42:46 +00:00
meta2deps.py Update meta* from bmake-20161212 2016-12-23 02:57:00 +00:00
meta2deps.sh Update meta* from bmake-20161212 2016-12-23 02:57:00 +00:00
meta.autodep.mk When MAKEOBJDIRPREFIX points to a case-insensitive file system, the 2016-09-24 15:11:27 +00:00
meta.stage.mk Update meta* from bmake-20161212 2016-12-23 02:57:00 +00:00
meta.subdir.mk
meta.sys.mk Avoid clobbering existing value of META_COOKIE_TOUCH 2016-09-13 22:17:25 +00:00
netbsd-tests.test.mk
plain.test.mk
src.init.mk
src.libnames.mk Create libefivar library. This library aims to provide 2016-10-11 22:30:41 +00:00
src.opts.mk Disable LLD_IS_LD option combinations that fail 2017-02-09 14:47:34 +00:00
src.sys.env.mk WITH_META_MODE: Don't let subdir traversals for 'make install' re-enable meta mode. 2016-08-25 23:55:56 +00:00
src.sys.mk
stage-install.sh
suite.test.mk Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
sys.dependfile.mk
sys.mk Add full softfloat and hardfloat support for RISC-V. 2016-11-16 15:21:32 +00:00
tap.test.mk
version_gen.awk