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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/svc/svccfg/Makefile
          +++ new/usr/src/cmd/svc/svccfg/Makefile
↓ open down ↓ 69 lines elided ↑ open up ↑
  70   70  MAPFILES +=     $(MAPFILE.LEX) $(MAPFILE.NGB)
  71   71  MAPOPTS =       $(MAPFILES:%=-M%)
  72   72  
  73   73  MYCPPFLAGS =    -I ../common -I$(ADJUNCT_PROTO)/usr/include/libxml2
  74   74  CPPFLAGS +=     $(MYCPPFLAGS)
  75   75  LDFLAGS +=      $(MAPOPTS)
  76   76  
  77   77  CERRWARN +=     -_gcc=-Wno-unused-label
  78   78  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  79   79  CERRWARN +=     -_gcc=-Wno-switch
  80      -CERRWARN +=     -_gcc=-Wno-uninitialized
       80 +CERRWARN +=     $(CNOWARN_UNINIT)
  81   81  CERRWARN +=     -_gcc=-Wno-unused-variable
  82   82  CERRWARN +=     -_gcc=-Wno-parentheses
  83   83  
  84   84  # not linted
  85   85  SMATCH=off
  86   86  
  87   87  LFLAGS = -t
  88   88  YFLAGS = -d
  89   89  
  90   90  CLOBBERFILES += svccfg_lex.c svccfg_grammar.c svccfg_grammar.h \
↓ open down ↓ 90 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX