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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=        libcurses.a
 VERS=   .2
 
 # objects are grouped by source directory

@@ -97,10 +98,13 @@
 
 CPPFLAGS = -I../h -I../src/libc/xcurses $(CPPFLAGS.master)
 CERRWARN += -_gcc=-Wno-uninitialized
 CERRWARN += -_gcc=-Wno-unused-value
 
+# not linted
+SMATCH=off
+
 #
 # If and when somebody gets around to messaging this, CLOBBERFILE should not
 # be cleared (so that any .po file will be clobbered.
 #
 CLOBBERFILES=   libcurses.so libcurses.so$(VERS)