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/nfs/statd/Makefile
          +++ new/usr/src/cmd/fs.d/nfs/statd/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  FSTYPE=         nfs
  36   36  TYPEPROG=       statd
  37   37  ATTMK=          $(TYPEPROG)
  38   38  
  39   39  include         ../../Makefile.fstype
  40   40  CPPFLAGS +=     -D_REENTRANT -DSUN_THREADS
  41   41  
  42   42  CERRWARN +=     -_gcc=-Wno-unused-variable
  43   43  CERRWARN +=     -_gcc=-Wno-switch
  44   44  CERRWARN +=     -_gcc=-Wno-parentheses
  45      -CERRWARN +=     -_gcc=-Wno-uninitialized
       45 +CERRWARN +=     $(CNOWARN_UNINIT)
  46   46  
  47   47  # not linted
  48   48  SMATCH=off
  49   49  
  50   50  LOCAL=          sm_svc.o sm_proc.o sm_statd.o
  51   51  OBJS=           $(LOCAL) selfcheck.o daemon.o smfcfg.o
  52   52  
  53   53  SRCS=           $(LOCAL:%.o=%.c) ../lib/selfcheck.c ../lib/daemon.c \
  54   54                  ../lib/smfcfg.c
  55   55  
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX