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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/truss/Makefile.com
          +++ new/usr/src/cmd/truss/Makefile.com
↓ open down ↓ 30 lines elided ↑ open up ↑
  31   31  OBJS=   main.o listopts.o ipc.o actions.o expound.o codes.o print.o \
  32   32          ramdata.o systable.o procset.o stat.o fcall.o htbl.o
  33   33  
  34   34  SRCS=   $(OBJS:%.o=../%.c)
  35   35  
  36   36  include ../../Makefile.cmd
  37   37  
  38   38  CFLAGS          += $(CCVERBOSE)
  39   39  CFLAGS64        += $(CCVERBOSE)
  40   40  
  41      -CERRWARN        += -_gcc=-Wno-uninitialized
       41 +CERRWARN        += $(CNOWARN_UNINIT)
  42   42  CERRWARN        += -_gcc=-Wno-switch
  43   43  
  44   44  # not linted
  45   45  SMATCH=off
  46   46  
  47   47  CSTD=   $(CSTD_GNU99)
  48   48  
  49   49  LDLIBS  += -lproc -lrtld_db -lc_db -lnsl -lsocket -ltsol -lnvpair
  50   50  CPPFLAGS += -D_REENTRANT -D_LARGEFILE64_SOURCE=1
  51   51  CPPFLAGS += -I$(SRC)/uts/common/fs/zfs
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX