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

*** 20,29 **** --- 20,30 ---- # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2018, Joyent, Inc. # # Definitions for targets shared by some subdirs, which have # dependencies in rcap/common, the path to which must be the value of # COMMON_DIR.
*** 33,42 **** --- 34,45 ---- CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-uninitialized CERRWARN += -_gcc=-Wno-parentheses + SMOFF += strcpy_overflow + %.o: $(COMMON_DIR)/%.c $(COMPILE.c) $< %.po: $(COMMON_DIR)/%.c $(COMPILE.cpp) $< > $<.i $(BUILD.po)