Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 19,30 ****
# CDDL HEADER END
#
#
# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved.
#
! # cmd/sgs/nm/i386/Makefile
! #
PROG= nm
XPG4PROG= nm
ARFORMAT= PORTAR
--- 19,29 ----
# CDDL HEADER END
#
#
# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved.
#
! # Copyright (c) 2018, Joyent, Inc.
PROG= nm
XPG4PROG= nm
ARFORMAT= PORTAR
*** 45,54 ****
--- 44,55 ----
DEFLIST= -DTARGET=I386 -DI386=1 -D$(ARFORMAT) -DELF
CPPFLAGS= $(INCLIST) $(DEFLIST) $(CPPFLAGS.master) -I$(ELFCAP)
CERRWARN += -_gcc=-Wno-uninitialized
+ SMOFF += precedence,indenting
+
LDLIBS += $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
LINTFLAGS += -x $(LDLIBS)
LINTSRCS= $(SRCS)
CLEANFILES += $(LINTOUTS)
objs.xpg4/%.o := CPPFLAGS += -DXPG4