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/modules/common/disk-monitor/Makefile
          +++ new/usr/src/cmd/fm/modules/common/disk-monitor/Makefile
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  CLASS = common
  29   29  SRCS =  disk_monitor.c diskmon_conf.c topo_gather.c \
  30   30          hotplug_mgr.c dm_platform.c schg_mgr.c util.c
  31   31  
  32   32  include ../../Makefile.plugin
  33   33  
  34   34  LINTFLAGS += -I. -I$(SRC)/lib/fm/topo/modules/common/disk -L$(ROOT)/usr/lib/fm
  35   35  CFLAGS += -I. -I$(SRC)/lib/fm/topo/modules/common/disk
  36   36  LDLIBS += -lsysevent -lnvpair -lsmbios -lcfgadm -ltopo -luutil -lipmi
  37   37  LDFLAGS += -L$(ROOT)/usr/lib/fm -R/usr/lib/fm
  38      -CERRWARN += -_gcc=-Wno-uninitialized
       38 +CERRWARN += $(CNOWARN_UNINIT)
  39   39  
  40   40  # not linted
  41   41  SMATCH=off
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX