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/eversholt/Makefile
          +++ new/usr/src/cmd/fm/modules/common/eversholt/Makefile
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  YSRCS=escparse.y 
  39   39  SRCS =  alloc.c check.c config.c eft.c eftread.c esclex.c eval.c evnv.c \
  40   40          fme.c iexpr.c io.c ipath.c itree.c lut.c literals.c out.c platform.c \
  41   41          ptree.c stable.c stats.c tree.c
  42   42  DMOD_SRCS = eft_mdb.c
  43   43  
  44   44  include ../../Makefile.plugin
  45   45  
  46   46  CPPFLAGS += -DFMAPLUGIN -I$(EVERSRCDIR) -I.
  47   47  CERRWARN += -_gcc=-Wno-unused-label
  48      -CERRWARN += -_gcc=-Wno-uninitialized
       48 +CERRWARN += $(CNOWARN_UNINIT)
  49   49  CERRWARN += -_gcc=-Wno-switch
  50   50  CERRWARN += -_gcc=-Wno-parentheses
  51   51  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  52   52  
  53   53  # not linted
  54   54  SMATCH=off
  55   55  
  56   56  $(PROG) := LDFLAGS += -R/usr/lib/fm
  57   57  $(PROG) := LDLIBS += -L$(ROOTLIB)/fm -ltopo
  58   58  
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX