summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/genunix
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/genunix')
-rw-r--r--usr/src/uts/intel/genunix/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/src/uts/intel/genunix/Makefile b/usr/src/uts/intel/genunix/Makefile
index ab0073268f..3c96c10d49 100644
--- a/usr/src/uts/intel/genunix/Makefile
+++ b/usr/src/uts/intel/genunix/Makefile
@@ -98,6 +98,17 @@ LINTTAGS += -erroff=E_STATIC_UNUSED
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+CERRWARN += -_gcc=-Wno-unused-label
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-value
+CERRWARN += -_gcc=-Wno-unused-function
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += -_gcc=-Wno-type-limits
+CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += -_gcc=-Wno-clobbered
+CERRWARN += -_gcc=-Wno-empty-body
+
#
# Ensure that lint sees 'struct cpu' containing a fully declared
# embedded 'struct machcpu'