Print this page
10080 smatch Makefile changes for usr/src/cmd

*** 21,30 **** --- 21,31 ---- # # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2018, Joyent, Inc. PROG= crle include $(SRC)/cmd/Makefile.cmd include $(SRC)/cmd/sgs/Makefile.com
*** 37,46 **** --- 38,50 ---- OBJS= $(BLTOBJ) $(COMOBJ) $(TOOLSOBJ) MAPFILE= $(MAPFILE.NGB) MAPOPT= $(MAPFILE:%=-M%) + # not linted + SMATCH=off + CPPFLAGS += -I$(SRC)/common/sgsrtcid -I$(SRCBASE)/uts/$(ARCH)/sys \ -D__EXTENSIONS__ LLDFLAGS = '-R$$ORIGIN/../lib' LLDFLAGS64 = '-R$$ORIGIN/../../lib/$(MACH64)' LDFLAGS += $(VERSREF) $(CC_USE_PROTO) $(MAPOPT) \