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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnisdb/Makefile
          +++ new/usr/src/lib/libnisdb/Makefile
↓ open down ↓ 154 lines elided ↑ open up ↑
 155  155  pics/db_vers_c_xdr.o \
 156  156  pics/ldap_xdr.o \
 157  157  pics/dit_access.o \
 158  158  pics/update.o \
 159  159  pics/yptol_utils.o \
 160  160  pics/map_ctrl.o
 161  161  
 162  162  $(UVAR_PICS) := CERRWARN += -_gcc=-Wno-unused-variable
 163  163  
 164  164  # Correcting these might alter logic
 165      -CERRWARN +=     -_gcc=-Wno-uninitialized
      165 +CERRWARN +=     $(CNOWARN_UNINIT)
 166  166  CERRWARN +=     -_gcc=-Wno-switch
 167  167  
 168  168  # not linted
 169  169  SMATCH=off
 170  170  
 171  171  # Extra includes, from yp, for yptol files.
 172  172  CPPFLAGS += -I$(SRC)/cmd/ypcmd
 173  173  
 174  174  # Need the path to nis_clnt.h
 175  175  CLNT_PICS = pics/db_entry_c_xdr.o pics/ldap_xdr.o pics/db_mindex_c_xdr.o
↓ open down ↓ 61 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX