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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fm/fmd/Makefile.fmd
          +++ new/usr/src/cmd/fm/fmd/Makefile.fmd
↓ open down ↓ 112 lines elided ↑ open up ↑
 113  113  $(ROOTVSUB) := DIRMODE = 0755
 114  114  $(ROOTMANIFEST) := FILEMODE = 0444
 115  115  
 116  116  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
 117  117  CPPFLAGS += -I. -I../common
 118  118  CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
 119  119  CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST)
 120  120  LINTFLAGS += -mu
 121  121  CERRWARN += -_gcc=-Wno-switch
 122  122  CERRWARN += -_gcc=-Wno-parentheses
 123      -CERRWARN += -_gcc=-Wno-uninitialized
      123 +CERRWARN += $(CNOWARN_UNINIT)
 124  124  CERRWARN += -_gcc=-Wno-clobbered
 125  125  $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused-but-set-variable
 126  126  CERRWARN += -_gcc=-Wno-unused-variable
 127  127  
 128  128  # not linted
 129  129  SMATCH=off
 130  130  
 131  131  $(PROG) := LDFLAGS += -R/usr/lib/fm
 132  132  $(PROG) := LDLIBS += -L$(ROOTLIB)/fm -ltopo -ldiagcode -lsysevent -lsmbios \
 133  133                  -luuid -lnvpair -lexacct -lnsl -lumem -ldevinfo -lfmd_msg
↓ open down ↓ 128 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX