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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/rmformat/Makefile
          +++ new/usr/src/cmd/rmformat/Makefile
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  PROG= rmformat
  29   29  
  30   30  OBJS=   rmf_main.o rmf_menu.o rmf_misc.o rmf_slice.o
  31   31  
  32   32  include ../Makefile.cmd
  33   33  
  34   34  SRCS= $(OBJS:.o=.c)
  35   35  
  36   36  LDLIBS +=       -lsmedia -lvolmgt -ladm -lefi
  37   37  
  38      -CERRWARN += -_gcc=-Wno-uninitialized
       38 +CERRWARN += $(CNOWARN_UNINIT)
  39   39  
  40   40  # not linted
  41   41  SMATCH=off
  42   42  
  43   43  LINTFLAGS += -u
  44   44  CPPFLAGS += -D_FILE_OFFSET_BITS=64
  45   45  
  46   46  $(ROOTBIN)/rmformat := FILEMODE = 04555
  47   47  
  48   48  .KEEP_STATE:
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX