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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/swap/Makefile.com
          +++ new/usr/src/cmd/swap/Makefile.com
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  
  27   27  PROG=   swap
  28   28  OBJS=   $(PROG).o
  29   29  SRCS=   $(OBJS:%.o=../%.c)
  30   30  
  31   31  include ../../Makefile.cmd
  32   32  
  33   33  CFLAGS +=       $(CCVERBOSE)
  34   34  CPPFLAGS +=     -D_LARGEFILE64_SOURCE
  35   35  CFLAGS64 +=     $(CCVERBOSE)
  36      -CERRWARN +=     -_gcc=-Wno-uninitialized
       36 +CERRWARN +=     $(CNOWARN_UNINIT)
  37   37  
  38   38  # not linted
  39   39  SMATCH=off
  40   40  
  41   41  FILEMODE=02555
  42   42  
  43   43  CLEANFILES += $(OBJS)
  44   44  
  45   45  .KEEP_STATE:
  46   46  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX