Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -21,10 +21,11 @@
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG= ldd
include $(SRC)/cmd/Makefile.cmd
include $(SRC)/cmd/sgs/Makefile.com
@@ -46,10 +47,12 @@
LDFLAGS += $(VERSREF) $(CC_USE_PROTO) $(MAPOPTS) $(LLDFLAGS)
LDLIBS += $(CONVLIBDIR) $(CONV_LIB) -lelf $(DLLIB)
LINTFLAGS += -x
LINTFLAGS64 += -x
+SMOFF += or_vs_and
+
BLTDEFS= msg.h
BLTDATA= msg.c
BLTMESG= $(SGSMSGDIR)/ldd
BLTFILES= $(BLTDEFS) $(BLTDATA) $(BLTMESG)