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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.bin/ftp/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.bin/ftp/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  
  36   36  include ../../../Makefile.cmd
  37   37  
  38   38  CFLAGS +=       $(CCVERBOSE)
  39   39  CPPFLAGS +=     -D_FILE_OFFSET_BITS=64 \
  40   40                  -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  41   41                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  42   42  
  43   43  CERRWARN +=     -_gcc=-Wno-parentheses
  44   44  CERRWARN +=     -_gcc=-Wno-clobbered
  45      -CERRWARN +=     -_gcc=-Wno-uninitialized
       45 +CERRWARN +=     $(CNOWARN_UNINIT)
  46   46  CERRWARN +=     -_gcc=-Wno-address
  47   47  
  48   48  # not linted
  49   49  SMATCH=off
  50   50  
  51   51  LDLIBS +=       -lsocket -lnsl -lgss
  52   52  
  53   53  # ftp defines its own delete and glob - localize all symbols to prevent a
  54   54  # name clash.
  55   55  LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX