summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc/krtld/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sparc/krtld/Makefile')
-rw-r--r--usr/src/uts/sparc/krtld/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/src/uts/sparc/krtld/Makefile b/usr/src/uts/sparc/krtld/Makefile
index 98b8ded02f..02094af09d 100644
--- a/usr/src/uts/sparc/krtld/Makefile
+++ b/usr/src/uts/sparc/krtld/Makefile
@@ -127,6 +127,17 @@ $(OBJECTS) $(LINTS) := CPPFLAGS += -Dbop_enter_mon=$(MODULE)_bop_enter_mon
$(MPSAS_BUILD)CFLAGS += -DMPSAS
#
+# 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_STATIC_UNUSED
+LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
+
+#
# Default build targets.
#
.KEEP_STATE: