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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/tnf/tnfxtract/Makefile.com
          +++ new/usr/src/cmd/tnf/tnfxtract/Makefile.com
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  OBJS.c=         tnfxtract.o
  31   31  
  32   32  OBJS=           $(OBJS.c)
  33   33  
  34   34  SRCS= $(OBJS.c:%.o=../%.c)
  35   35  
  36   36  include ../../../Makefile.cmd
  37   37  
  38   38  LFLAGS=         -v
  39   39  LDLIBS +=       -lkvm
  40      -CERRWARN +=     -_gcc=-Wno-uninitialized
       40 +CERRWARN +=     $(CNOWARN_UNINIT)
  41   41  
  42   42  # not linted
  43   43  SMATCH=off
  44   44  
  45   45  .KEEP_STATE:
  46   46  
  47   47  all: $(PROG)
  48   48  
  49   49  $(PROG): $(OBJS)
  50   50          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX