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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/nfs/nfslog/Makefile
          +++ new/usr/src/cmd/fs.d/nfs/nfslog/Makefile
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33  
  34   34  COMMON=         nfslog_config.o nfslogtab.o
  35   35  LOCAL=          process_buffer.o fhtab.o nfslogd.o nfslog_elf.o \
  36   36                  nfslog_trans.o nfslog_ipaddr.o readbuf.o dbtab.o \
  37   37                  nfs_log_xdr.o buffer_list.o
  38   38  OBJS=           $(LOCAL) $(COMMON)
  39   39  SRCS=           $(LOCAL:%.o=%.c) $(COMMON:%.o=../lib/%.c)
  40   40  LDLIBS +=       -lsocket -lnsl
  41   41  CFLAGS +=       $(CCVERBOSE)
  42   42  CERRWARN +=     -_gcc=-Wno-parentheses
  43      -CERRWARN +=     -_gcc=-Wno-uninitialized
       43 +CERRWARN +=     $(CNOWARN_UNINIT)
  44   44  CERRWARN +=     -_gcc=-Wno-switch
  45   45  CERRWARN +=     -_gcc=-Wno-type-limits
  46   46  
  47   47  # not linted
  48   48  SMATCH=off
  49   49  
  50   50  CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  51   51  
  52   52  #
  53   53  # Message catalog
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX