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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/zonecfg/Makefile
          +++ new/usr/src/cmd/zonecfg/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  MAPFILES +=     $(MAPFILE.LEX) $(MAPFILE.NGB)
  36   36  MAPOPTS =       $(MAPFILES:%=-M%)
  37   37  
  38   38  LFLAGS =        -t
  39   39  YFLAGS =        -d -b zonecfg_grammar
  40   40  LDLIBS +=       -lzonecfg -ll -lnsl -ltecla -lzfs -lbrand -ldladm -linetutil
  41   41  CPPFLAGS +=     -I.
  42   42  LDFLAGS +=      $(MAPOPTS)
  43   43  CLEANFILES +=   zonecfg_lex.c zonecfg_grammar.tab.c zonecfg_grammar.tab.h
  44   44  
  45      -CERRWARN +=     -_gcc=-Wno-uninitialized
       45 +CERRWARN +=     $(CNOWARN_UNINIT)
  46   46  CERRWARN +=     -_gcc=-Wno-unused-label
  47   47  CERRWARN +=     -_gcc=-Wno-unused-variable
  48   48  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  49   49  
  50   50  SMOFF += all_func_returns
  51   51  
  52   52  CLOBBERFILES += $(PROG).ln
  53   53  
  54   54  .KEEP_STATE:
  55   55  
↓ open down ↓ 30 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX