History log of /openbsd-current/gnu/usr.bin/clang/lld/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.19 11-Nov-2023 robert

update build infrastructure for llvm-16.0.6


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.18 03-Aug-2020 patrick

Update build infrastructure for LLVM 10.0.0.

ok hackroom@
tested by plenty


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.17 17-May-2019 schwarze

stop using the moribund MLINKS bsd.man.mk feature;
no functional change intended;
OK patrick@


Revision tags: OPENBSD_6_5_BASE
# 1.16 06-Mar-2019 jsg

When linking libLLVM.a in clang and lld include it within the
ld --start-group --end-group block. bfd ld seems to need this where
lld doesn't.


# 1.15 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


Revision tags: OPENBSD_6_4_BASE
# 1.14 26-Jul-2018 kettenis

Add infrastructure to install lld as the default linker. The old GNU linker
will be installed as /usr/bin/ld.bfd on supported systems. This allows
users to fall back on the old linker by using the -fuse-ld=bfd option on
systems where lld is the default linker.

Switch armv7 to use lld as the default linker. On arm64 we already use lld
as the default linker. Other platforms will keep using the GNU linker for
now.

ok patrick@, deraadt@, phessler@


# 1.13 06-Apr-2018 patrick

Update clang build infrastructure for LLVM 6.0.0.


Revision tags: OPENBSD_6_3_BASE
# 1.12 02-Mar-2018 jsg

Add a manual page for lld from lld svn rev 326463 with options not
present in lld 5.0.1 removed (--build-id=fast, -z muldefs,
-z retpolineplt). This includes a bunch of mdoc changes suggested
by schwarze@ that were recently committed upstream.

ok jmc@ schwarze@ kettenis@ deraadt@


# 1.11 04-Oct-2017 patrick

Update clang build infrastructure for LLVM 5.0.0.


Revision tags: OPENBSD_6_2_BASE
# 1.10 27-Jul-2017 espie

don't double install ld, some people have already been lost trying
to get out of these makefiles!

okay kettenis@


# 1.9 09-Jul-2017 espie

zap empty depends/silence empty installs.
okay millert@


# 1.8 17-Apr-2017 pascal

Take a more radical approach to disabling colours: pretend we don't
HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM
don't seem to respect our default setting.

As a result, delete the -ltermlib dependency.

Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole
codebase is out of scope for now ...

Prompted by an instance found in the AsmParser by deraadt@

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.7 27-Mar-2017 kettenis

Do not clobber the default compiler/linker links unless COMPILER_VERSION is
set to clang.

ok jsg@


# 1.6 24-Jan-2017 patrick

Update clang build infrastructure for LLVM 4.0.0

Discussed with kettenis@


# 1.5 22-Jan-2017 patrick

Always provide clang as cc, c++ and cpp, and lld as ld.

Per discussion with deraadt@


# 1.4 22-Jan-2017 patrick

On clang architectures cc, c++ and cpp are provided by clang. Also,
ld is provided by lld.


# 1.3 22-Jan-2017 patrick

Compile and install lld as ld.lld, since that's what the ecosystem
is expecting.

Prompted and ok by kettenis@


# 1.2 22-Jan-2017 jsg

Include bsd.own.mk in a few more places to pick up mk.conf overrides.
ok patrick@ tb@ kettenis@ phessler@


# 1.1 22-Jan-2017 patrick

Add build infrastructure for lld.

ok kettenis@


# 1.18 03-Aug-2020 patrick

Update build infrastructure for LLVM 10.0.0.

ok hackroom@
tested by plenty


Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.17 17-May-2019 schwarze

stop using the moribund MLINKS bsd.man.mk feature;
no functional change intended;
OK patrick@


Revision tags: OPENBSD_6_5_BASE
# 1.16 06-Mar-2019 jsg

When linking libLLVM.a in clang and lld include it within the
ld --start-group --end-group block. bfd ld seems to need this where
lld doesn't.


# 1.15 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


Revision tags: OPENBSD_6_4_BASE
# 1.14 26-Jul-2018 kettenis

Add infrastructure to install lld as the default linker. The old GNU linker
will be installed as /usr/bin/ld.bfd on supported systems. This allows
users to fall back on the old linker by using the -fuse-ld=bfd option on
systems where lld is the default linker.

Switch armv7 to use lld as the default linker. On arm64 we already use lld
as the default linker. Other platforms will keep using the GNU linker for
now.

ok patrick@, deraadt@, phessler@


# 1.13 06-Apr-2018 patrick

Update clang build infrastructure for LLVM 6.0.0.


Revision tags: OPENBSD_6_3_BASE
# 1.12 02-Mar-2018 jsg

Add a manual page for lld from lld svn rev 326463 with options not
present in lld 5.0.1 removed (--build-id=fast, -z muldefs,
-z retpolineplt). This includes a bunch of mdoc changes suggested
by schwarze@ that were recently committed upstream.

ok jmc@ schwarze@ kettenis@ deraadt@


# 1.11 04-Oct-2017 patrick

Update clang build infrastructure for LLVM 5.0.0.


Revision tags: OPENBSD_6_2_BASE
# 1.10 27-Jul-2017 espie

don't double install ld, some people have already been lost trying
to get out of these makefiles!

okay kettenis@


# 1.9 09-Jul-2017 espie

zap empty depends/silence empty installs.
okay millert@


# 1.8 17-Apr-2017 pascal

Take a more radical approach to disabling colours: pretend we don't
HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM
don't seem to respect our default setting.

As a result, delete the -ltermlib dependency.

Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole
codebase is out of scope for now ...

Prompted by an instance found in the AsmParser by deraadt@

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.7 27-Mar-2017 kettenis

Do not clobber the default compiler/linker links unless COMPILER_VERSION is
set to clang.

ok jsg@


# 1.6 24-Jan-2017 patrick

Update clang build infrastructure for LLVM 4.0.0

Discussed with kettenis@


# 1.5 22-Jan-2017 patrick

Always provide clang as cc, c++ and cpp, and lld as ld.

Per discussion with deraadt@


# 1.4 22-Jan-2017 patrick

On clang architectures cc, c++ and cpp are provided by clang. Also,
ld is provided by lld.


# 1.3 22-Jan-2017 patrick

Compile and install lld as ld.lld, since that's what the ecosystem
is expecting.

Prompted and ok by kettenis@


# 1.2 22-Jan-2017 jsg

Include bsd.own.mk in a few more places to pick up mk.conf overrides.
ok patrick@ tb@ kettenis@ phessler@


# 1.1 22-Jan-2017 patrick

Add build infrastructure for lld.

ok kettenis@


# 1.17 17-May-2019 schwarze

stop using the moribund MLINKS bsd.man.mk feature;
no functional change intended;
OK patrick@


Revision tags: OPENBSD_6_5_BASE
# 1.16 06-Mar-2019 jsg

When linking libLLVM.a in clang and lld include it within the
ld --start-group --end-group block. bfd ld seems to need this where
lld doesn't.


# 1.15 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


Revision tags: OPENBSD_6_4_BASE
# 1.14 26-Jul-2018 kettenis

Add infrastructure to install lld as the default linker. The old GNU linker
will be installed as /usr/bin/ld.bfd on supported systems. This allows
users to fall back on the old linker by using the -fuse-ld=bfd option on
systems where lld is the default linker.

Switch armv7 to use lld as the default linker. On arm64 we already use lld
as the default linker. Other platforms will keep using the GNU linker for
now.

ok patrick@, deraadt@, phessler@


# 1.13 06-Apr-2018 patrick

Update clang build infrastructure for LLVM 6.0.0.


Revision tags: OPENBSD_6_3_BASE
# 1.12 02-Mar-2018 jsg

Add a manual page for lld from lld svn rev 326463 with options not
present in lld 5.0.1 removed (--build-id=fast, -z muldefs,
-z retpolineplt). This includes a bunch of mdoc changes suggested
by schwarze@ that were recently committed upstream.

ok jmc@ schwarze@ kettenis@ deraadt@


# 1.11 04-Oct-2017 patrick

Update clang build infrastructure for LLVM 5.0.0.


Revision tags: OPENBSD_6_2_BASE
# 1.10 27-Jul-2017 espie

don't double install ld, some people have already been lost trying
to get out of these makefiles!

okay kettenis@


# 1.9 09-Jul-2017 espie

zap empty depends/silence empty installs.
okay millert@


# 1.8 17-Apr-2017 pascal

Take a more radical approach to disabling colours: pretend we don't
HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM
don't seem to respect our default setting.

As a result, delete the -ltermlib dependency.

Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole
codebase is out of scope for now ...

Prompted by an instance found in the AsmParser by deraadt@

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.7 27-Mar-2017 kettenis

Do not clobber the default compiler/linker links unless COMPILER_VERSION is
set to clang.

ok jsg@


# 1.6 24-Jan-2017 patrick

Update clang build infrastructure for LLVM 4.0.0

Discussed with kettenis@


# 1.5 22-Jan-2017 patrick

Always provide clang as cc, c++ and cpp, and lld as ld.

Per discussion with deraadt@


# 1.4 22-Jan-2017 patrick

On clang architectures cc, c++ and cpp are provided by clang. Also,
ld is provided by lld.


# 1.3 22-Jan-2017 patrick

Compile and install lld as ld.lld, since that's what the ecosystem
is expecting.

Prompted and ok by kettenis@


# 1.2 22-Jan-2017 jsg

Include bsd.own.mk in a few more places to pick up mk.conf overrides.
ok patrick@ tb@ kettenis@ phessler@


# 1.1 22-Jan-2017 patrick

Add build infrastructure for lld.

ok kettenis@


# 1.16 06-Mar-2019 jsg

When linking libLLVM.a in clang and lld include it within the
ld --start-group --end-group block. bfd ld seems to need this where
lld doesn't.


# 1.15 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


Revision tags: OPENBSD_6_4_BASE
# 1.14 26-Jul-2018 kettenis

Add infrastructure to install lld as the default linker. The old GNU linker
will be installed as /usr/bin/ld.bfd on supported systems. This allows
users to fall back on the old linker by using the -fuse-ld=bfd option on
systems where lld is the default linker.

Switch armv7 to use lld as the default linker. On arm64 we already use lld
as the default linker. Other platforms will keep using the GNU linker for
now.

ok patrick@, deraadt@, phessler@


# 1.13 06-Apr-2018 patrick

Update clang build infrastructure for LLVM 6.0.0.


Revision tags: OPENBSD_6_3_BASE
# 1.12 02-Mar-2018 jsg

Add a manual page for lld from lld svn rev 326463 with options not
present in lld 5.0.1 removed (--build-id=fast, -z muldefs,
-z retpolineplt). This includes a bunch of mdoc changes suggested
by schwarze@ that were recently committed upstream.

ok jmc@ schwarze@ kettenis@ deraadt@


# 1.11 04-Oct-2017 patrick

Update clang build infrastructure for LLVM 5.0.0.


Revision tags: OPENBSD_6_2_BASE
# 1.10 27-Jul-2017 espie

don't double install ld, some people have already been lost trying
to get out of these makefiles!

okay kettenis@


# 1.9 09-Jul-2017 espie

zap empty depends/silence empty installs.
okay millert@


# 1.8 17-Apr-2017 pascal

Take a more radical approach to disabling colours: pretend we don't
HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM
don't seem to respect our default setting.

As a result, delete the -ltermlib dependency.

Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole
codebase is out of scope for now ...

Prompted by an instance found in the AsmParser by deraadt@

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.7 27-Mar-2017 kettenis

Do not clobber the default compiler/linker links unless COMPILER_VERSION is
set to clang.

ok jsg@


# 1.6 24-Jan-2017 patrick

Update clang build infrastructure for LLVM 4.0.0

Discussed with kettenis@


# 1.5 22-Jan-2017 patrick

Always provide clang as cc, c++ and cpp, and lld as ld.

Per discussion with deraadt@


# 1.4 22-Jan-2017 patrick

On clang architectures cc, c++ and cpp are provided by clang. Also,
ld is provided by lld.


# 1.3 22-Jan-2017 patrick

Compile and install lld as ld.lld, since that's what the ecosystem
is expecting.

Prompted and ok by kettenis@


# 1.2 22-Jan-2017 jsg

Include bsd.own.mk in a few more places to pick up mk.conf overrides.
ok patrick@ tb@ kettenis@ phessler@


# 1.1 22-Jan-2017 patrick

Add build infrastructure for lld.

ok kettenis@


# 1.15 05-Mar-2019 jsg

Build and install a shared libLLVM, llvm-config and llvm includes.
This is required to build the radeonsi Mesa driver.

ok patrick@


Revision tags: OPENBSD_6_4_BASE
# 1.14 26-Jul-2018 kettenis

Add infrastructure to install lld as the default linker. The old GNU linker
will be installed as /usr/bin/ld.bfd on supported systems. This allows
users to fall back on the old linker by using the -fuse-ld=bfd option on
systems where lld is the default linker.

Switch armv7 to use lld as the default linker. On arm64 we already use lld
as the default linker. Other platforms will keep using the GNU linker for
now.

ok patrick@, deraadt@, phessler@


# 1.13 06-Apr-2018 patrick

Update clang build infrastructure for LLVM 6.0.0.


Revision tags: OPENBSD_6_3_BASE
# 1.12 02-Mar-2018 jsg

Add a manual page for lld from lld svn rev 326463 with options not
present in lld 5.0.1 removed (--build-id=fast, -z muldefs,
-z retpolineplt). This includes a bunch of mdoc changes suggested
by schwarze@ that were recently committed upstream.

ok jmc@ schwarze@ kettenis@ deraadt@


# 1.11 04-Oct-2017 patrick

Update clang build infrastructure for LLVM 5.0.0.


Revision tags: OPENBSD_6_2_BASE
# 1.10 27-Jul-2017 espie

don't double install ld, some people have already been lost trying
to get out of these makefiles!

okay kettenis@


# 1.9 09-Jul-2017 espie

zap empty depends/silence empty installs.
okay millert@


# 1.8 17-Apr-2017 pascal

Take a more radical approach to disabling colours: pretend we don't
HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM
don't seem to respect our default setting.

As a result, delete the -ltermlib dependency.

Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole
codebase is out of scope for now ...

Prompted by an instance found in the AsmParser by deraadt@

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.7 27-Mar-2017 kettenis

Do not clobber the default compiler/linker links unless COMPILER_VERSION is
set to clang.

ok jsg@


# 1.6 24-Jan-2017 patrick

Update clang build infrastructure for LLVM 4.0.0

Discussed with kettenis@


# 1.5 22-Jan-2017 patrick

Always provide clang as cc, c++ and cpp, and lld as ld.

Per discussion with deraadt@


# 1.4 22-Jan-2017 patrick

On clang architectures cc, c++ and cpp are provided by clang. Also,
ld is provided by lld.


# 1.3 22-Jan-2017 patrick

Compile and install lld as ld.lld, since that's what the ecosystem
is expecting.

Prompted and ok by kettenis@


# 1.2 22-Jan-2017 jsg

Include bsd.own.mk in a few more places to pick up mk.conf overrides.
ok patrick@ tb@ kettenis@ phessler@


# 1.1 22-Jan-2017 patrick

Add build infrastructure for lld.

ok kettenis@


# 1.14 26-Jul-2018 kettenis

Add infrastructure to install lld as the default linker. The old GNU linker
will be installed as /usr/bin/ld.bfd on supported systems. This allows
users to fall back on the old linker by using the -fuse-ld=bfd option on
systems where lld is the default linker.

Switch armv7 to use lld as the default linker. On arm64 we already use lld
as the default linker. Other platforms will keep using the GNU linker for
now.

ok patrick@, deraadt@, phessler@


# 1.13 06-Apr-2018 patrick

Update clang build infrastructure for LLVM 6.0.0.


Revision tags: OPENBSD_6_3_BASE
# 1.12 02-Mar-2018 jsg

Add a manual page for lld from lld svn rev 326463 with options not
present in lld 5.0.1 removed (--build-id=fast, -z muldefs,
-z retpolineplt). This includes a bunch of mdoc changes suggested
by schwarze@ that were recently committed upstream.

ok jmc@ schwarze@ kettenis@ deraadt@


# 1.11 04-Oct-2017 patrick

Update clang build infrastructure for LLVM 5.0.0.


Revision tags: OPENBSD_6_2_BASE
# 1.10 27-Jul-2017 espie

don't double install ld, some people have already been lost trying
to get out of these makefiles!

okay kettenis@


# 1.9 09-Jul-2017 espie

zap empty depends/silence empty installs.
okay millert@


# 1.8 17-Apr-2017 pascal

Take a more radical approach to disabling colours: pretend we don't
HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM
don't seem to respect our default setting.

As a result, delete the -ltermlib dependency.

Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole
codebase is out of scope for now ...

Prompted by an instance found in the AsmParser by deraadt@

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.7 27-Mar-2017 kettenis

Do not clobber the default compiler/linker links unless COMPILER_VERSION is
set to clang.

ok jsg@


# 1.6 24-Jan-2017 patrick

Update clang build infrastructure for LLVM 4.0.0

Discussed with kettenis@


# 1.5 22-Jan-2017 patrick

Always provide clang as cc, c++ and cpp, and lld as ld.

Per discussion with deraadt@


# 1.4 22-Jan-2017 patrick

On clang architectures cc, c++ and cpp are provided by clang. Also,
ld is provided by lld.


# 1.3 22-Jan-2017 patrick

Compile and install lld as ld.lld, since that's what the ecosystem
is expecting.

Prompted and ok by kettenis@


# 1.2 22-Jan-2017 jsg

Include bsd.own.mk in a few more places to pick up mk.conf overrides.
ok patrick@ tb@ kettenis@ phessler@


# 1.1 22-Jan-2017 patrick

Add build infrastructure for lld.

ok kettenis@


# 1.13 06-Apr-2018 patrick

Update clang build infrastructure for LLVM 6.0.0.


Revision tags: OPENBSD_6_3_BASE
# 1.12 02-Mar-2018 jsg

Add a manual page for lld from lld svn rev 326463 with options not
present in lld 5.0.1 removed (--build-id=fast, -z muldefs,
-z retpolineplt). This includes a bunch of mdoc changes suggested
by schwarze@ that were recently committed upstream.

ok jmc@ schwarze@ kettenis@ deraadt@


# 1.11 04-Oct-2017 patrick

Update clang build infrastructure for LLVM 5.0.0.


Revision tags: OPENBSD_6_2_BASE
# 1.10 27-Jul-2017 espie

don't double install ld, some people have already been lost trying
to get out of these makefiles!

okay kettenis@


# 1.9 09-Jul-2017 espie

zap empty depends/silence empty installs.
okay millert@


# 1.8 17-Apr-2017 pascal

Take a more radical approach to disabling colours: pretend we don't
HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM
don't seem to respect our default setting.

As a result, delete the -ltermlib dependency.

Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole
codebase is out of scope for now ...

Prompted by an instance found in the AsmParser by deraadt@

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.7 27-Mar-2017 kettenis

Do not clobber the default compiler/linker links unless COMPILER_VERSION is
set to clang.

ok jsg@


# 1.6 24-Jan-2017 patrick

Update clang build infrastructure for LLVM 4.0.0

Discussed with kettenis@


# 1.5 22-Jan-2017 patrick

Always provide clang as cc, c++ and cpp, and lld as ld.

Per discussion with deraadt@


# 1.4 22-Jan-2017 patrick

On clang architectures cc, c++ and cpp are provided by clang. Also,
ld is provided by lld.


# 1.3 22-Jan-2017 patrick

Compile and install lld as ld.lld, since that's what the ecosystem
is expecting.

Prompted and ok by kettenis@


# 1.2 22-Jan-2017 jsg

Include bsd.own.mk in a few more places to pick up mk.conf overrides.
ok patrick@ tb@ kettenis@ phessler@


# 1.1 22-Jan-2017 patrick

Add build infrastructure for lld.

ok kettenis@


# 1.12 02-Mar-2018 jsg

Add a manual page for lld from lld svn rev 326463 with options not
present in lld 5.0.1 removed (--build-id=fast, -z muldefs,
-z retpolineplt). This includes a bunch of mdoc changes suggested
by schwarze@ that were recently committed upstream.

ok jmc@ schwarze@ kettenis@ deraadt@


# 1.11 04-Oct-2017 patrick

Update clang build infrastructure for LLVM 5.0.0.


Revision tags: OPENBSD_6_2_BASE
# 1.10 27-Jul-2017 espie

don't double install ld, some people have already been lost trying
to get out of these makefiles!

okay kettenis@


# 1.9 09-Jul-2017 espie

zap empty depends/silence empty installs.
okay millert@


# 1.8 17-Apr-2017 pascal

Take a more radical approach to disabling colours: pretend we don't
HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM
don't seem to respect our default setting.

As a result, delete the -ltermlib dependency.

Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole
codebase is out of scope for now ...

Prompted by an instance found in the AsmParser by deraadt@

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.7 27-Mar-2017 kettenis

Do not clobber the default compiler/linker links unless COMPILER_VERSION is
set to clang.

ok jsg@


# 1.6 24-Jan-2017 patrick

Update clang build infrastructure for LLVM 4.0.0

Discussed with kettenis@


# 1.5 22-Jan-2017 patrick

Always provide clang as cc, c++ and cpp, and lld as ld.

Per discussion with deraadt@


# 1.4 22-Jan-2017 patrick

On clang architectures cc, c++ and cpp are provided by clang. Also,
ld is provided by lld.


# 1.3 22-Jan-2017 patrick

Compile and install lld as ld.lld, since that's what the ecosystem
is expecting.

Prompted and ok by kettenis@


# 1.2 22-Jan-2017 jsg

Include bsd.own.mk in a few more places to pick up mk.conf overrides.
ok patrick@ tb@ kettenis@ phessler@


# 1.1 22-Jan-2017 patrick

Add build infrastructure for lld.

ok kettenis@


# 1.11 04-Oct-2017 patrick

Update clang build infrastructure for LLVM 5.0.0.


Revision tags: OPENBSD_6_2_BASE
# 1.10 27-Jul-2017 espie

don't double install ld, some people have already been lost trying
to get out of these makefiles!

okay kettenis@


# 1.9 09-Jul-2017 espie

zap empty depends/silence empty installs.
okay millert@


# 1.8 17-Apr-2017 pascal

Take a more radical approach to disabling colours: pretend we don't
HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM
don't seem to respect our default setting.

As a result, delete the -ltermlib dependency.

Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole
codebase is out of scope for now ...

Prompted by an instance found in the AsmParser by deraadt@

ok kettenis@ patrick@


Revision tags: OPENBSD_6_1_BASE
# 1.7 27-Mar-2017 kettenis

Do not clobber the default compiler/linker links unless COMPILER_VERSION is
set to clang.

ok jsg@


# 1.6 24-Jan-2017 patrick

Update clang build infrastructure for LLVM 4.0.0

Discussed with kettenis@


# 1.5 22-Jan-2017 patrick

Always provide clang as cc, c++ and cpp, and lld as ld.

Per discussion with deraadt@


# 1.4 22-Jan-2017 patrick

On clang architectures cc, c++ and cpp are provided by clang. Also,
ld is provided by lld.


# 1.3 22-Jan-2017 patrick

Compile and install lld as ld.lld, since that's what the ecosystem
is expecting.

Prompted and ok by kettenis@


# 1.2 22-Jan-2017 jsg

Include bsd.own.mk in a few more places to pick up mk.conf overrides.
ok patrick@ tb@ kettenis@ phessler@


# 1.1 22-Jan-2017 patrick

Add build infrastructure for lld.

ok kettenis@