Permalink
Browse files

HBSD: Disable lint(1) by default

lint(1) was fully removed in 12-CURRENT by upstream FreeBSD. Building
lint(1) requires lint(1) to pre-exist. Users on 12-CURRENT, therefore,
cannot build 11-STABLE.

Disable lint(1) by default in HardenedBSD 11-STABLE. Users who would
like to use lint(1) on 11-STABLE can set WITH_LINT in src.conf(5).

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
Sponsored-by:	SoldierX
  • Loading branch information...
lattera committed Dec 9, 2017
1 parent 69d7dec commit 74db9a87ccbee248675ea534b4867ef7b45ae116
Showing with 3 additions and 1 deletion.
  1. +1 −0 share/mk/src.opts.mk
  2. +1 −0 tools/build/options/WITH_LINT
  3. +1 −1 usr.bin/Makefile
@@ -192,6 +192,7 @@ __DEFAULT_NO_OPTIONS = \
HESIOD \
LIB32 \
LIBSOFT \
LINT \
NAND \
OFED \
OPENLDAP \
@@ -0,0 +1 @@
Set to build and install lint(1).
@@ -288,7 +288,7 @@ SUBDIR.${MK_TOOLCHAIN}+= rpcgen
SUBDIR.${MK_TOOLCHAIN}+= unifdef
SUBDIR.${MK_TOOLCHAIN}+= size
SUBDIR.${MK_TOOLCHAIN}+= strings
.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build
.if ${MK_LINT} != "no"
SUBDIR.${MK_TOOLCHAIN}+= xlint
.endif
SUBDIR.${MK_TOOLCHAIN}+= xstr

0 comments on commit 74db9a8

Please sign in to comment.