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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libslp/Makefile.com
          +++ new/usr/src/lib/libslp/Makefile.com
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  LIBS =          $(DYNLIB) $(LINTLIB)
  40   40  LDLIBS +=       -lc -lnsl -lsocket
  41   41  $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  42   42  
  43   43  SRCDIR =        ../clib
  44   44  
  45   45  CFLAGS +=       $(CCVERBOSE)
  46   46  CPPFLAGS +=     -D_REENTRANT -I../clib -I$(JAVA_ROOT)/include \
  47   47                  -I$(JAVA_ROOT)/include/solaris
  48   48  
  49      -CERRWARN +=     -_gcc=-Wno-uninitialized
       49 +CERRWARN +=     $(CNOWARN_UNINIT)
  50   50  CERRWARN +=     -_gcc=-Wno-parentheses
  51   51  
  52   52  # not linted
  53   53  SMATCH=off
  54   54  
  55   55  .KEEP_STATE:
  56   56  
  57   57  all:
  58   58  
  59   59  lint: lintcheck
  60   60  
  61   61  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX