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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/Makefile
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  include ../../../Makefile.cmd
  33   33  
  34   34  XGETFLAGS +=    -a -x $(PROG).xcl
  35   35  LFLAGS =        -t
  36   36  LDLIBS +=       -ll -ltecla -lnwam -lumem
  37   37  YFLAGS +=       -d -b nwamcfg_grammar
  38   38  CLEANFILES +=   nwamcfg_lex.c nwamcfg_grammar.tab.c nwamcfg_grammar.tab.h
  39   39  CLEANFILES +=   $(PROG).ln
  40   40  
  41   41  CERRWARN +=     -_gcc=-Wno-switch
  42      -CERRWARN +=     -_gcc=-Wno-uninitialized
       42 +CERRWARN +=     $(CNOWARN_UNINIT)
  43   43  CERRWARN +=     -_gcc=-Wno-unused-variable
  44   44  CERRWARN +=     -_gcc=-Wno-unused-label
  45   45  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  46   46  
  47   47  SMOFF += all_func_returns
  48   48  
  49   49  .KEEP_STATE:
  50   50  
  51   51  all: $(PROG)
  52   52  
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX