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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdevinfo/Makefile.com
          +++ new/usr/src/lib/libdevinfo/Makefile.com
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  include ../../Makefile.lib
  36   36  include ../../Makefile.rootfs
  37   37  
  38   38  LIBS =          $(DYNLIB) $(LINTLIB)
  39   39  LDLIBS +=       -lnvpair -lsec -lc -lgen
  40   40  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  41   41  
  42   42  CFLAGS +=       $(CCVERBOSE)
  43   43  CPPFLAGS +=     -I..
  44   44  CERRWARN +=     -_gcc=-Wno-parentheses
  45      -CERRWARN +=     -_gcc=-Wno-uninitialized
       45 +CERRWARN +=     $(CNOWARN_UNINIT)
  46   46  
  47   47  # not linted
  48   48  SMATCH=off
  49   49  
  50   50  .KEEP_STATE:
  51   51  
  52   52  all: $(LIBS)
  53   53  
  54   54  lint: lintcheck
  55   55  
  56   56  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX