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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/nscd/Makefile
          +++ new/usr/src/cmd/nscd/Makefile
↓ open down ↓ 52 lines elided ↑ open up ↑
  53   53  
  54   54  CFLAGS +=       $(CCVERBOSE)
  55   55  CPPFLAGS +=     -D_REENTRANT -DSUN_THREADS \
  56   56                  -I../../lib/libc/port/gen -I../../lib/libc/inc \
  57   57                  -I../../lib/libsldap/common
  58   58  LINTFLAGS +=    -erroff=E_GLOBAL_COULD_BE_STATIC2
  59   59  LINTFLAGS +=    -erroff=E_NAME_USED_NOT_DEF2
  60   60  LINTFLAGS +=    -erroff=E_NAME_DEF_NOT_USED2
  61   61  
  62   62  CERRWARN +=     -_gcc=-Wno-switch
  63      -CERRWARN +=     -_gcc=-Wno-uninitialized
       63 +CERRWARN +=     $(CNOWARN_UNINIT)
  64   64  CERRWARN +=     -_gcc=-Wno-parentheses
  65   65  CERRWARN +=     -_gcc=-Wno-type-limits
  66   66  
  67   67  # not linted
  68   68  SMATCH=off
  69   69  
  70   70  # nscd interposes on many symbols, and must export others for its own dlsym()
  71   71  # use, and dlsym() calls from libc.  Itemizing the interfaces within a mapfile
  72   72  # is error-prone, so establish the whole object as an interposer.
  73   73  LDFLAGS +=      $(ZINTERPOSE)
↓ open down ↓ 37 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX