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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdiskmgt/Makefile.com
          +++ new/usr/src/lib/libdiskmgt/Makefile.com
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55  LDLIBS +=       -ldevinfo -ladm -ldevid -lkstat -lsysevent \
  56   56                  -lnvpair -lefi -lc $($(MACH)_LDLIBS)
  57   57  DYNFLAGS +=     -R/opt/VRTSvxvm/lib
  58   58  
  59   59  SRCDIR =        ../common
  60   60  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  61   61  
  62   62  CFLAGS +=       $(CCVERBOSE)
  63   63  CERRWARN +=     -_gcc=-Wno-switch
  64   64  CERRWARN +=     -_gcc=-Wno-parentheses
  65      -CERRWARN +=     -_gcc=-Wno-uninitialized
       65 +CERRWARN +=     $(CNOWARN_UNINIT)
  66   66  CPPFLAGS +=     -D_REENTRANT -I$(SRC)/lib/libdiskmgt/common
  67   67  
  68   68  # not linted
  69   69  SMATCH=off
  70   70  
  71   71  .KEEP_STATE:
  72   72  
  73   73  all: $(LIBS)
  74   74  
  75   75  lint: lintcheck
  76   76  
  77   77  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX