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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdladm/Makefile.com
          +++ new/usr/src/lib/libdladm/Makefile.com
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  LDLIBS +=       -ldevinfo -lc -linetutil -lsocket -lscf -lrcm -lnvpair \
  40   40                  -lexacct -lkstat -lpool
  41   41  
  42   42  SRCDIR =        ../common
  43   43  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  44   44  
  45   45  CFLAGS +=       $(CCVERBOSE)
  46   46  CERRWARN +=     -_gcc=-Wno-parentheses
  47   47  CERRWARN +=     -_gcc=-Wno-switch
  48   48  CERRWARN +=     -_gcc=-Wno-unused-label
  49      -CERRWARN +=     -_gcc=-Wno-uninitialized
       49 +CERRWARN +=     $(CNOWARN_UNINIT)
  50   50  CPPFLAGS +=     -I$(SRCDIR) -D_REENTRANT
  51   51  
  52   52  # not linted
  53   53  SMATCH=off
  54   54  
  55   55  .KEEP_STATE:
  56   56  
  57   57  all:            $(LIBS)
  58   58  
  59   59  lint:           lintcheck
  60   60  
  61   61  include $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX