Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 20,29 ****
--- 20,31 ----
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
+
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
*** 55,64 ****
--- 57,69 ----
LDFLAGS += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-uninitialized
+ # needs work
+ SMOFF += deref_check
+
#
# Default build targets.
#
.KEEP_STATE: