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/lockd/Makefile
          +++ new/usr/src/cmd/fs.d/nfs/lockd/Makefile
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  
  38   38  SRCS      =     $(LOCAL:%.o=%.c) ../lib/daemon.c ../lib/nfs_tbind.c \
  39   39                  ../lib/smfcfg.c ../lib/thrpool.c
  40   40  LDLIBS   +=     -lnsl -lscf
  41   41  CPPFLAGS +=     -I../lib
  42   42  CSTD      =     $(CSTD_GNU99)
  43   43  
  44   44  CERRWARN += -_gcc=-Wno-parentheses
  45   45  CERRWARN += -_gcc=-Wno-switch
  46   46  CERRWARN += -_gcc=-Wno-unused-variable
  47      -CERRWARN += -_gcc=-Wno-uninitialized
       47 +CERRWARN += $(CNOWARN_UNINIT)
  48   48  
  49   49  # not linted
  50   50  SMATCH=off
  51   51  
  52   52  
  53   53  $(TYPEPROG):    $(OBJS)
  54   54                  $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  55   55                  $(POST_PROCESS)
  56   56  
  57   57  lockd.o:        lockd.c
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX