Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -19,10 +19,11 @@
#
# Copyright 2009 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.
#
# Intel 5000/5100/5400/7300 chipset memory controller hub (MCH) module
#
@@ -61,10 +62,13 @@
LDFLAGS += -dy -N drv/smbios
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+# needs work
+SMATCH=off
+
#
# Default build targets.
#
.KEEP_STATE: