diff options
Diffstat (limited to 'usr/src/uts/sparc')
-rw-r--r-- | usr/src/uts/sparc/dev/Makefile | 5 | ||||
-rw-r--r-- | usr/src/uts/sparc/stmf_sbd/Makefile | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/usr/src/uts/sparc/dev/Makefile b/usr/src/uts/sparc/dev/Makefile index 1469b37763..e079a824c3 100644 --- a/usr/src/uts/sparc/dev/Makefile +++ b/usr/src/uts/sparc/dev/Makefile @@ -21,6 +21,8 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2016 by Delphix. All rights reserved. +# # uts/sparc/dev/Makefile # This makefile drives the production of the /dev file system # kernel module. @@ -64,6 +66,9 @@ LDFLAGS += -dy -Nfs/devfs -Nmisc/dls INC_PATH += -I$(UTSBASE)/common/fs/zfs INC_PATH += -I$(UTSBASE)/common/io/bpf +LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN +LINTTAGS += -erroff=E_STATIC_UNUSED + CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-uninitialized diff --git a/usr/src/uts/sparc/stmf_sbd/Makefile b/usr/src/uts/sparc/stmf_sbd/Makefile index a57ccaf73d..ac64b10708 100644 --- a/usr/src/uts/sparc/stmf_sbd/Makefile +++ b/usr/src/uts/sparc/stmf_sbd/Makefile @@ -20,8 +20,9 @@ # # # Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016 by Delphix. All rights reserved. # -# This makefile drives the production of the stmf_sbd driver for +# This makefile drives the production of the stmf_sbd driver for # COMSTAR. # @@ -68,6 +69,7 @@ C99LMODE= -Xc99=%all # to investigate and remove these for maximum lint coverage. # LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN +LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses |