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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/smbsrv/libsmb/Makefile.com
          +++ new/usr/src/lib/smbsrv/libsmb/Makefile.com
↓ open down ↓ 78 lines elided ↑ open up ↑
  79   79  LINTCHECKFLAGS += -erroff=E_INCONS_ARG_DECL2
  80   80  LINTCHECKFLAGS += -erroff=E_BAD_FORMAT_STR2
  81   81  
  82   82  LDLIBS +=       $(MACH_LDLIBS)
  83   83  # perfer to keep libs ordered by dependence
  84   84  LDLIBS +=       -lscf -lmd -luuid -lpkcs11 -lcryptoutil
  85   85  LDLIBS +=       -lsec -lidmap -lreparse -lcmdutils -lavl
  86   86  LDLIBS +=       -lnvpair -lresolv -lsocket -lnsl -lc
  87   87  CPPFLAGS +=     $(INCS) -D_REENTRANT
  88   88  CPPFLAGS +=     -Dsyslog=smb_syslog
  89      -CERRWARN +=     -_gcc=-Wno-uninitialized
       89 +CERRWARN +=     $(CNOWARN_UNINIT)
  90   90  CERRWARN +=     -_gcc=-Wno-char-subscripts
  91   91  CERRWARN +=     -_gcc=-Wno-switch
  92   92  
  93   93  # not linted
  94   94  SMATCH=off
  95   95  
  96   96  SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        \
  97   97          $(OBJS_SHARED:%.o=$(SRC)/common/smbsrv/%.c)
  98   98  
  99   99  include ../../Makefile.targ
 100  100  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX