summaryrefslogtreecommitdiffstats
path: root/usr.bin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/Makefile')
-rw-r--r--usr.bin/Makefile2
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
OpenPOWER on IntegriCloud