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

*** 19,28 **** --- 19,29 ---- # CDDL HEADER END # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2018, Joyent, Inc. PROG = powertop COMMON_OBJS = $(PROG).o \ display.o \
*** 41,50 **** --- 42,54 ---- CFLAGS += $(CCVERBOSE) CFLAGS64 += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-uninitialized + + SMOFF += free + LDLIBS += -lcurses -ldtrace -lkstat FILEMODE = 0555 CLEANFILES += $(COMMON_OBJS)