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

*** 20,31 **** # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # - BINPROG= mail PROG= $(BINPROG) GREP= grep --- 20,32 ---- # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2018, Joyent, Inc. + # BINPROG= mail PROG= $(BINPROG) GREP= grep
*** 74,83 **** --- 75,87 ---- CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-uninitialized CERRWARN += -_gcc=-Wno-clobbered CERRWARN += -_gcc=-Wno-extra + # missing type declarations for old-style functions + SMATCH = off + LDLIBS += -lmail -lsocket # mail defines its own delete() - reduce symbols to locals to remove name clash. LDFLAGS += $(MAPFILE.NGB:%=-M%)