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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/flowstat/Makefile
          +++ new/usr/src/cmd/flowstat/Makefile
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  
  31   31  POFILE= $(PROG).po
  32   32  
  33   33  include ../Makefile.cmd
  34   34  
  35   35  XGETFLAGS += -a -x $(PROG).xcl
  36   36  LDLIBS += -L$(ROOT)/lib
  37   37  LDLIBS += -ldladm -lofmt
  38   38  
  39   39  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  40      -CERRWARN += -_gcc=-Wno-uninitialized
       40 +CERRWARN += $(CNOWARN_UNINIT)
  41   41  
  42   42  # not linted
  43   43  SMATCH=off
  44   44  
  45   45  ROOTCFGDIR=     $(ROOTETC)/dladm
  46   46  
  47   47  .KEEP_STATE:
  48   48  
  49   49  all: $(ROOTFS_PROG)
  50   50  
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX