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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/ufs/fssnap/Makefile
          +++ new/usr/src/cmd/fs.d/ufs/fssnap/Makefile
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  TOPOBJS=        fssnapsup.o
  37   37  TOPSRCS=        $(TOPOBJS:%.o=%.c)
  38   38  
  39   39  OBJS=           $(FSSNAPOBJS) $(TOPOBJS)
  40   40  SRCS=           $(FSSNAPSRCS) $(TOPSRCS)
  41   41  
  42   42  CPPFLAGS +=     -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
  43   43  CERRWARN +=     -_gcc=-Wno-type-limits
  44   44  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  45   45  CERRWARN +=     -_gcc=-Wno-unused-variable
  46      -CERRWARN +=     -_gcc=-Wno-uninitialized
       46 +CERRWARN +=     $(CNOWARN_UNINIT)
  47   47  
  48   48  # not linted
  49   49  SMATCH=off
  50   50  
  51   51  LDLIBS +=       -lkstat -ldevinfo
  52   52  
  53   53  # message catalog
  54   54  POFILE= fssnap.po
  55   55  
  56   56  catalog:        $(POFILE)
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX