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

@@ -18,10 +18,12 @@
 #
 # CDDL HEADER END
 #
 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
+#
 # This make file will build mech_krb5.so.1. This shared object
 # contains all the functionality needed to support the Kereros V5 GSS-API
 # mechanism. No other Kerberos libraries are needed.
 #
 

@@ -260,10 +262,13 @@
 CERRWARN +=     -_gcc=-Wno-unused-label
 CERRWARN +=     -_gcc=-Wno-unused-value
 CERRWARN +=     -_gcc=-Wno-empty-body
 CERRWARN +=     -_gcc=-Wno-address
 
+# needs work
+SMATCH=off
+
 MAPFILES =      ../mapfile-vers
 
 #CPPFLAGS +=    -D_REENTRANT
 $(PICS) :=      CFLAGS += $(XFFLAG)
 $(PICS) :=      CFLAGS64 += $(XFFLAG)