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/liba5k/Makefile.com
          +++ new/usr/src/lib/storage/liba5k/Makefile.com
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  
  39   39  .KEEP_STATE:
  40   40  
  41   41  COMMON_LINTFLAGS = -erroff=E_SEC_SPRINTF_UNBOUNDED_COPY
  42   42  COMMON_LINTFLAGS += -erroff=E_SEC_PRINTF_VAR_FMT
  43   43  
  44   44  LINTFLAGS += $(COMMON_LINTFLAGS) 
  45   45  LINTFLAGS64 +=  $(COMMON_LINTFLAGS)
  46   46  
  47   47  CERRWARN += -_gcc=-Wno-parentheses
  48      -CERRWARN += -_gcc=-Wno-uninitialized
       48 +CERRWARN += $(CNOWARN_UNINIT)
  49   49  
  50   50  LDLIBS += -lc -ldevice -lg_fc
  51   51  
  52   52  $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  53   53  
  54   54  all: $(LIBS)
  55   55  
  56   56  lint: lintcheck
  57   57  
  58   58  include  ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX