Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG= sac sacadm pmadm
MANIFEST = sac.xml
@@ -59,10 +60,13 @@
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-extra
+# too many untyped funcs
+SMATCH=off
+
util1.o := CPPFLAGS += -DSAC
util2.o := CPPFLAGS += -USAC
sac := LDLIBS += -lpam