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

@@ -19,10 +19,12 @@
 # CDDL HEADER END
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
+#
 
 $(NOT_NATIVE)NATIVE_BUILD = $(POUND_SIGN)
 
 ITM     = geniconvtbl.so
 PROG    = geniconvtbl

@@ -90,11 +92,14 @@
 CERRWARN        += -_gcc=-Wno-unused-variable
 CERRWARN        += -_gcc=-Wno-implicit-function-declaration
 YFLAGS          += -d -v
 CFLAGS          += -D_FILE_OFFSET_BITS=64
 
-$(ITM) :=       CFLAGS += $(GSHARED) $(C_PICFLAGS) $(ZTEXT) -h $@
+# dump_expr() is too hairy
+SMATCH=off
+
+$(ITM) :=       CFLAGS += $(GSHARED) $(C_PICFLAGS) $(ZTEXT) -h$@
 $(ITM) :=       CPPFLAGS += -D_REENTRANT 
 $(ITM) :=       sparc_CFLAGS += -xregs=no%appl
 $(ITM) :=       sparcv9_CFLAGS += -xregs=no%appl
 
 LDLIBS += -lgen