summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sendmail/Makefile.cmd
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-15 15:13:09 +0000
committerDan McDonald <danmcd@joyent.com>2019-01-05 15:34:06 -0500
commit1f5207b7604fb44407eb4342aff613f7c4508508 (patch)
tree3a32aff9ba245a7de5fb9c384659480740adcda8 /usr/src/cmd/sendmail/Makefile.cmd
parentc0455f334914631f42eb41177d677e2820ee6506 (diff)
downloadillumos-joyent-1f5207b7604fb44407eb4342aff613f7c4508508.tar.gz
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/sendmail/Makefile.cmd')
-rw-r--r--usr/src/cmd/sendmail/Makefile.cmd5
1 files changed, 5 insertions, 0 deletions
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):