Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -20,10 +20,11 @@
 #
 #
 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG =          idmapd
 MANIFEST =      idmap.xml
 SERVEROBJS =                            \
         adspriv_impl.o                  \

@@ -61,10 +62,13 @@
 
 CERRWARN +=     -_gcc=-Wno-type-limits
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 TEXT_DOMAIN =   SUNW_OST_OSLIB
 XGETTEXT =      $(GNUXGETTEXT)
 XGETFLAGS =     --foreign-user --strict -n -E --width=72 \
                 --omit-header --keyword=directoryError:2 \
                 --language=C --force-po