Skip to content

Commit

Permalink
HBSD: Disable lint(1) by default
Browse files Browse the repository at this point in the history
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 74db9a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions share/mk/src.opts.mk
Expand Up @@ -192,6 +192,7 @@ __DEFAULT_NO_OPTIONS = \
HESIOD \
LIB32 \
LIBSOFT \
LINT \
NAND \
OFED \
OPENLDAP \
Expand Down
1 change: 1 addition & 0 deletions tools/build/options/WITH_LINT
@@ -0,0 +1 @@
Set to build and install lint(1).
2 changes: 1 addition & 1 deletion usr.bin/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 74db9a8

Please sign in to comment.