Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions

@@ -20,10 +20,11 @@
 #
 
 #
 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 SHELL=/usr/bin/ksh93
 
 LIBRARY=        libast.a
 VERS=           .1

@@ -736,10 +737,12 @@
 CERRWARN += -_gcc=-Wno-implicit-function-declaration
 CERRWARN += -_gcc=-Wno-empty-body
 CERRWARN += -_gcc=-Wno-type-limits
 CERRWARN += -_gcc=-Wno-address
 
+SMATCH=off
+
 pics/$(MACH)/src/lib/libast/conftab.o \
 pics/$(MACH64)/src/lib/libast/conftab.o := CERRWARN += -erroff=E_INIT_DOES_NOT_FIT
 pics/common/comp/setlocale.o            := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
 pics/common/comp/setlocale.o            := CERRWARN += -erroff=E_INIT_DOES_NOT_FIT
 pics/common/comp/setlocale.o            := CERRWARN += -erroff=E_INIT_SIGN_EXTEND