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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libbsm/Makefile.com
          +++ new/usr/src/lib/libbsm/Makefile.com
↓ open down ↓ 79 lines elided ↑ open up ↑
  80   80  $(LINTLIB) :=   SRCS = ../common/$(LINTSRC)
  81   81  ROOTLINTDIR=    $(ROOTLIBDIR)
  82   82  ROOTLINT=       $(LINTSRC:%=$(ROOTLINTDIR)/%)
  83   83  
  84   84  CLEANFILES +=   $(LINTOUT) $(LINTLIB)
  85   85  
  86   86  CFLAGS  +=      $(CCVERBOSE)
  87   87  LDLIBS +=       -lsocket -lnsl -lmd -lc -lsecdb -ltsol -linetutil -lscf
  88   88  
  89   89  CERRWARN +=     -_gcc=-Wno-parentheses
  90      -CERRWARN +=     -_gcc=-Wno-uninitialized
       90 +CERRWARN +=     $(CNOWARN_UNINIT)
  91   91  
  92   92  # not linted
  93   93  SMATCH=off
  94   94  
  95   95  COMDIR=         ../common
  96   96  AUDITD=         $(SRC)/cmd/auditd
  97   97  
  98   98  CPPFLAGS += -I$(COMDIR) -I$(AUDITD)
  99   99  CPPFLAGS += -D_REENTRANT
 100  100  
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX