Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/rcm_daemon/Makefile.com
          +++ new/usr/src/cmd/rcm_daemon/Makefile.com
↓ open down ↓ 114 lines elided ↑ open up ↑
 115  115  CLOBBERFILES += $(COMMON_RCM_MODS) $($(MACH)_RCM_MODS) $(RCM_DAEMON)
 116  116  
 117  117  LINT_MODULES = $(COMMON_MOD_SRC:.c=.ln) $($(MACH)_MOD_SRC:.c=.ln)
 118  118  
 119  119  CPPFLAGS += -I..
 120  120  CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
 121  121  CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
 122  122  
 123  123  CERRWARN += -_gcc=-Wno-parentheses
 124  124  CERRWARN += -_gcc=-Wno-unused-label
 125      -CERRWARN += -_gcc=-Wno-uninitialized
      125 +CERRWARN += $(CNOWARN_UNINIT)
 126  126  CERRWARN += -_gcc=-Wno-unused-function
 127  127  
 128  128  # not linted
 129  129  SMATCH=off
 130  130  
 131  131  MAPFILES = ../common/mapfile-intf $(MAPFILE.NGB)
 132  132  rcm_daemon := LDFLAGS += $(MAPFILES:%=-M%)
 133  133  
 134  134  LINTFLAGS += -u -erroff=E_FUNC_ARG_UNUSED
 135  135  
↓ open down ↓ 107 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX