Print this page
10077 usr/src/uts/ Makefile changes for smatch

@@ -21,10 +21,11 @@
 
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 #       This file makes the atheros driver for an intel system
 #
 #       intel architecture dependent

@@ -67,10 +68,13 @@
 
 CERRWARN        += -_gcc=-Wno-switch
 CERRWARN        += -_gcc=-Wno-uninitialized
 CERRWARN        += -_gcc=-Wno-parentheses
 
+# needs work
+SMATCH=off
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: