Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -22,10 +22,11 @@
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
#
+# Copyright (c) 2018, Joyent, Inc.
# This makefile drives the production of the gl_kmech_krb5 kernel module.
#
# intel implementation architecture dependent
#
@@ -71,10 +72,13 @@
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-parentheses
+# needs work
+SMOFF += indenting
+
#
# Default build targets.
#
.KEEP_STATE: