summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/krtld/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/krtld/Makefile')
-rw-r--r--usr/src/uts/intel/krtld/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/src/uts/intel/krtld/Makefile b/usr/src/uts/intel/krtld/Makefile
index 32e3587f98..9b88eaad0a 100644
--- a/usr/src/uts/intel/krtld/Makefile
+++ b/usr/src/uts/intel/krtld/Makefile
@@ -110,6 +110,18 @@ MAKEFILE_RULES_64 = $(UTSBASE)/intel/amd64/Makefile.rules
include $(MAKEFILE_RULES_$(CLASS))
#
+# For now, disable these lint checks; maintainers should endeavor
+# to investigate and remove these for maximum lint coverage.
+# Please do not carry these forward to new Makefiles.
+#
+LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
+LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
+LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
+LINTTAGS += -erroff=E_STATIC_UNUSED
+
+#
# Default build targets.
#
.KEEP_STATE: