From 1f5207b7604fb44407eb4342aff613f7c4508508 Mon Sep 17 00:00:00 2001 From: John Levon Date: Sat, 15 Dec 2018 15:13:09 +0000 Subject: 10063 basic support for smatch 10153 checkpaths shouldn't check packaging exceptions Reviewed by: Toomas Soome Approved by: Dan McDonald --- usr/src/lib/libast/Makefile.com | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr/src/lib/libast/Makefile.com') diff --git a/usr/src/lib/libast/Makefile.com b/usr/src/lib/libast/Makefile.com index 3ec9d8313e..46c4dad799 100644 --- a/usr/src/lib/libast/Makefile.com +++ b/usr/src/lib/libast/Makefile.com @@ -22,6 +22,7 @@ # # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # +# Copyright (c) 2019, Joyent, Inc. SHELL=/usr/bin/ksh93 @@ -738,6 +739,8 @@ 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 -- cgit v1.2.3