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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsldap/Makefile.com
          +++ new/usr/src/lib/libsldap/Makefile.com
↓ open down ↓ 46 lines elided ↑ open up ↑
  47   47  
  48   48  CFLAGS +=       $(CCVERBOSE)
  49   49  LOCFLAGS +=     -D_REENTRANT -DSUNW_OPTIONS
  50   50  CPPFLAGS +=     -I../common -I$(SRC)/lib/libldap5/include/ldap \
  51   51                  -I$(ADJUNCT_PROTO)/usr/include/mps $(LOCFLAGS)
  52   52  LINTFLAGS +=    -erroff=E_BAD_PTR_CAST_ALIGN
  53   53  LINTFLAGS64 +=  -erroff=E_BAD_PTR_CAST_ALIGN
  54   54  
  55   55  CERRWARN +=     -_gcc=-Wno-parentheses
  56   56  CERRWARN +=     -_gcc=-Wno-switch
  57      -CERRWARN +=     -_gcc=-Wno-uninitialized
       57 +CERRWARN +=     $(CNOWARN_UNINIT)
  58   58  
  59   59  # not linted
  60   60  SMATCH=off
  61   61  
  62   62  .KEEP_STATE:
  63   63  
  64   64  all: $(LIBS)
  65   65  
  66   66  lint: lintcheck
  67   67  
  68   68  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX