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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/storage/libg_fc/Makefile.com
          +++ new/usr/src/lib/storage/libg_fc/Makefile.com
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  
  44   44  LDLIBS += -lc -ldevinfo -ldevice -lnvpair -ldevid
  45   45  
  46   46  COMMON_LINTFLAGS = -erroff=E_SEC_SPRINTF_UNBOUNDED_COPY
  47   47  COMMON_LINTFLAGS += -erroff=E_SEC_PRINTF_VAR_FMT
  48   48  
  49   49  LINTFLAGS += $(COMMON_LINTFLAGS)
  50   50  LINTFLAGS64 += $(COMMON_LINTFLAGS)
  51   51  
  52   52  CERRWARN += -_gcc=-Wno-parentheses
  53      -CERRWARN += -_gcc=-Wno-uninitialized
       53 +CERRWARN += $(CNOWARN_UNINIT)
  54   54  
  55   55  $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  56   56  
  57   57  .KEEP_STATE:
  58   58  
  59   59  all: $(LIBS)
  60   60  
  61   61  lint: lintcheck
  62   62  
  63   63  include  ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX