Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -21,10 +21,11 @@
 #
 # Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=        libcurses.a
 VERS=   .1
 
 OBJECTS=        $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4) $(OBJS5) $(OBJS6)

@@ -150,10 +151,13 @@
 
 CERRWARN +=     -_gcc=-Wno-char-subscripts
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-parentheses
 
+# not linted
+SMATCH=off
+
 LDLIBS += -lc
 
 CPPFLAGS += -I../screen -I../../common/inc
 
 ED = ed