diff options
author | ian <ian@FreeBSD.org> | 2018-01-11 17:51:22 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2018-01-11 17:51:22 +0000 |
commit | 5fb1dbc1862d5ddd058d22fe18063e6c71aeb7bc (patch) | |
tree | 2a6a12f7861ffb4e5843a3bd2b7af166d2676893 /usr.bin | |
parent | d9729a216c47c24465d1b7b74dec184e0216c461 (diff) | |
download | FreeBSD-src-5fb1dbc1862d5ddd058d22fe18063e6c71aeb7bc.zip FreeBSD-src-5fb1dbc1862d5ddd058d22fe18063e6c71aeb7bc.tar.gz |
Do not build lint(1) by default on stable-11, add WITH_LINT to enable
building it.
lint(1) is required on the host build system to build lint(1) libraries, and
it is no longer available on FreeBSD 12. This prevents using a 12 or later
host to build an 11 or earlier system, which causes problems for building
jails and using poudriere. The problem could be fixed by treating lint as a
bootstrap tool when building on 12+, but that just adds complexity and build
time to build a broken tool that virtually nobody uses anymore.
This is a direct commit to 11-stable because lint no longer exists in later
branches.
PR: 223892
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D13799
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 65a70ba..e16b30e 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -286,7 +286,7 @@ SUBDIR.${MK_TOOLCHAIN}+= readelf SUBDIR.${MK_TOOLCHAIN}+= rpcgen SUBDIR.${MK_TOOLCHAIN}+= unifdef SUBDIR.${MK_TOOLCHAIN}+= size -.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build +.if ${MK_LINT} != "no" && ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build SUBDIR.${MK_TOOLCHAIN}+= xlint .endif SUBDIR.${MK_TOOLCHAIN}+= xstr |