Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 22,31 ****
--- 22,32 ----
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
#
+ # Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the cifs server file system
# kernel module.
#
*** 72,81 ****
--- 73,85 ----
INC_PATH += -I$(SRC)/common
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
+ # needs work
+ SMATCH=off
+
#
# Default build targets.
#
.KEEP_STATE: