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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 
 #
 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 SHELL=/usr/bin/ksh93
 
 LIBRARY=        libshell.a

@@ -159,10 +160,13 @@
 CERRWARN        += -_gcc=-Wno-unused-function
 CERRWARN        += -_gcc=-Wno-uninitialized
 CERRWARN        += -_gcc=-Wno-clobbered
 CERRWARN        += -_gcc=-Wno-char-subscripts
 
+# smatch gets out of memory on common/sh/macro.c
+SMATCH          = off
+
 pics/sh/macro.o         := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
 pics/sh/nvdisc.o        := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
 
 .KEEP_STATE: