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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/cfgadm_plugins/pci/Makefile.com
          +++ new/usr/src/lib/cfgadm_plugins/pci/Makefile.com
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  SRCS=           ../common/cfga.c $(SRC)/common/pci/pci_strings.c
  44   44  
  45   45  LIBS = $(DYNLIB)
  46   46  
  47   47  CPPFLAGS +=     -D_POSIX_PTHREAD_SEMANTICS
  48   48  CFLAGS +=       $(CCVERBOSE)
  49   49  LDLIBS +=       -lc -ldevice -ldevinfo -lrcm
  50   50  
  51   51  CERRWARN +=     -_gcc=-Wno-parentheses
  52   52  CERRWARN +=     -_gcc=-Wno-char-subscripts
  53      -CERRWARN +=     -_gcc=-Wno-uninitialized
       53 +CERRWARN +=     $(CNOWARN_UNINIT)
  54   54  
  55   55  # not linted
  56   56  SMATCH=off
  57   57  
  58   58  .KEEP_STATE:
  59   59  
  60   60  all: $(LIBS)
  61   61  
  62   62  lint:   lintcheck
  63   63  
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX