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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libfsmgt/Makefile.com
          +++ new/usr/src/lib/libfsmgt/Makefile.com
↓ open down ↓ 45 lines elided ↑ open up ↑
  46   46  LDLIBS +=       -lc -lnsl -lkstat
  47   47  
  48   48  SRCDIR =        ../common
  49   49  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  50   50  
  51   51  CFLAGS +=       $(CCVERBOSE)
  52   52  CPPFLAGS +=     -D_REENTRANT -I$(SRC)/lib/libfsmgt/common \
  53   53                  -I$(SRC)/cmd/fs.d/nfs/lib
  54   54  
  55   55  CERRWARN        += -_gcc=-Wno-parentheses
  56      -CERRWARN        += -_gcc=-Wno-uninitialized
       56 +CERRWARN        += $(CNOWARN_UNINIT)
  57   57  
  58   58  # not linted
  59   59  SMATCH=off
  60   60  
  61   61  CLOBBERFILES    += $(SRCDIR)/nfs_sec.c
  62   62  CLOBBERFILES    += $(SRCDIR)/replica.c
  63   63  CLOBBERFILES    += $(SRCDIR)/sharetab.c
  64   64  
  65   65  .KEEP_STATE:
  66   66  
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX