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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/fm/topo/modules/Makefile.plugin
          +++ new/usr/src/lib/fm/topo/modules/Makefile.plugin
↓ open down ↓ 50 lines elided ↑ open up ↑
  51   51  ROOTPROG = $($(CLASS)_ROOTPROG)
  52   52  
  53   53  common_ROOTCONF = $(ROOT)/usr/lib/fm/topo/plugins/$(CONF)
  54   54  arch_ROOTCONF = $(ROOT)/usr/platform/$(ARCH)/lib/fm/topo/plugins/$(CONF)
  55   55  plat_ROOTCONF = $(PLATFORMS:%=$(ROOT)/usr/platform/%/lib/fm/topo/plugins/$(CONF))
  56   56  ROOTCONF = $($(CLASS)_ROOTCONF)
  57   57  
  58   58  LINTFLAGS = -msux
  59   59  LINTFILES = $(MODULESRCS:%.c=%.ln) $(SHAREDSRCS:%.c=%.ln)
  60   60  
  61      -CERRWARN += -_gcc=-Wno-uninitialized
       61 +CERRWARN += $(CNOWARN_UNINIT)
  62   62  CERRWARN += -_gcc=-Wno-parentheses
  63   63  
  64   64  APIMAP = ../../../libtopo/common/topo_mod.map
  65   65  MAPFILES =              # use APIMAP instead
  66   66  
  67   67  CSTD  = $(CSTD_GNU99)
  68   68  CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
  69   69  CFLAGS += -G $(XREGSFLAG)
  70   70  
  71   71  CPPFLAGS += -I.
↓ open down ↓ 55 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX