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/cmd/sendmail/Makefile.cmd | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'usr/src/cmd/sendmail') diff --git a/usr/src/cmd/sendmail/Makefile.cmd b/usr/src/cmd/sendmail/Makefile.cmd index a90a1502ac..d3378329bd 100644 --- a/usr/src/cmd/sendmail/Makefile.cmd +++ b/usr/src/cmd/sendmail/Makefile.cmd @@ -23,6 +23,8 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2019, Joyent, Inc. +# CPPFLAGS.sm= $(CPPFLAGS.master) -DSOLARIS=2$(RELEASE_MINOR)00 \ -D_FILE_OFFSET_BITS=64 @@ -36,6 +38,9 @@ CERRWARN += -_gcc=-Wno-unused-but-set-parameter CERRWARN += -_gcc=-Wno-unused-but-set-variable DBMDEF= -DNDBM -DNEWDB -DNIS -DUSERDB -DMAP_REGEX -DLDAPMAP +# smatch can't handle main() +SMATCH = off + ROOTLIBSMTPSM = $(ROOTLIB)/smtp/sendmail $(ROOTLIBSMTPSM): -- cgit v1.2.3