Last active
April 24, 2019 20:30
-
-
Save Hukadan/b295a04267c216e499409b56fe7f2bfd to your computer and use it in GitHub Desktop.
patch to build FreeBSD releng/11.0 without lint(1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git share/mk/src.opts.mk share/mk/src.opts.mk | |
index e8065d170f9..cb9a3bc94c7 100644 | |
--- share/mk/src.opts.mk | |
+++ share/mk/src.opts.mk | |
@@ -183,6 +183,7 @@ __DEFAULT_NO_OPTIONS = \ | |
EISA \ | |
HESIOD \ | |
LIBSOFT \ | |
+ LINT \ | |
NAND \ | |
OFED \ | |
OPENLDAP \ | |
diff --git usr.bin/Makefile usr.bin/Makefile | |
index 9d29b4f0602..3470e15fa2b 100644 | |
--- usr.bin/Makefile | |
+++ usr.bin/Makefile | |
@@ -283,7 +283,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" && ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build | |
SUBDIR.${MK_TOOLCHAIN}+= xlint | |
.endif | |
SUBDIR.${MK_TOOLCHAIN}+= xstr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment