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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsmbfs/Makefile.com
          +++ new/usr/src/lib/libsmbfs/Makefile.com
↓ open down ↓ 87 lines elided ↑ open up ↑
  88   88  
  89   89  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  90   90  
  91   91  CSTD=   $(CSTD_GNU99)
  92   92  
  93   93  LDLIBS += -lsocket -lnsl -lc -lmd -lpkcs11 -lkrb5 -lsec -lidmap -lscf -luuid
  94   94  
  95   95  # normal warnings...
  96   96  CFLAGS  +=      $(CCVERBOSE)
  97   97  
  98      -CERRWARN +=     -_gcc=-Wno-uninitialized
       98 +CERRWARN +=     $(CNOWARN_UNINIT)
  99   99  CERRWARN +=     -_gcc=-Wno-unused-variable
 100  100  
 101  101  # not linted
 102  102  SMATCH=off
 103  103  
 104  104  CPPFLAGS += -D__EXTENSIONS__ -D_REENTRANT -DMIA \
 105  105          -I$(SRCDIR) -I.. -I../netsmb \
 106  106          -I$(SRC)/uts/common \
 107  107          -I$(SRC)/common/smbclnt
 108  108  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX