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/autofs/Makefile
          +++ new/usr/src/cmd/fs.d/autofs/Makefile
↓ open down ↓ 87 lines elided ↑ open up ↑
  88   88  $(MOUNT):=      LDLIBS += -lscf
  89   89  $(TYPEPROG) :=  LDLIBS += -lrpcsvc -lsocket -lnsl -lsldap -lkstat -lscf
  90   90  
  91   91  CFLAGS +=       $(CCVERBOSE) -D_FILE_OFFSET_BITS=64
  92   92  CPPFLAGS=       -I. -I.. -I../nfs/lib $(CPPFLAGS.master) -D_REENTRANT  \
  93   93                          $(MALLOC_DEBUG)
  94   94  
  95   95  CERRWARN +=     -_gcc=-Wno-parentheses
  96   96  CERRWARN +=     -_gcc=-Wno-unused-variable
  97   97  CERRWARN +=     -_gcc=-Wno-switch
  98      -CERRWARN +=     -_gcc=-Wno-uninitialized
       98 +CERRWARN +=     $(CNOWARN_UNINIT)
  99   99  CERRWARN +=     -_gcc=-Wno-unused-label
 100  100  CERRWARN +=     -_gcc=-Wno-unused-function
 101  101  
 102  102  # not linted
 103  103  SMATCH=off
 104  104  
 105  105  OBJS=           $(AUTOOBJS) $(MOUNTOBJS) $(TYPEOBJS) \
 106  106                  $(SHAREOBJS) $(UNSHAREOBJS)
 107  107  
 108  108  AUTOSRCS=       automount.c $(COMMON:%.o=%.c) $(FSLIBSRC)
↓ open down ↓ 113 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX