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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/scsi/libsmp/Makefile.com
          +++ new/usr/src/lib/scsi/libsmp/Makefile.com
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  include ../../../Makefile.lib
  37   37  include ../../Makefile.defs
  38   38  
  39   39  SRCS = $(OBJECTS:%.o=../common/%.c)
  40   40  CSTD = $(CSTD_GNU99)
  41   41  CPPFLAGS += -I../common -I. -D_REENTRANT
  42   42  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  43   43  CFLAGS += $(CCVERBOSE)
  44   44  
  45   45  CERRWARN += -_gcc=-Wno-type-limits
  46      -CERRWARN += -_gcc=-Wno-uninitialized
       46 +CERRWARN += $(CNOWARN_UNINIT)
  47   47  
  48   48  SMOFF += all_func_returns
  49   49  
  50   50  LDLIBS += \
  51   51          -lumem \
  52   52          -lc
  53   53  LIBS =          $(DYNLIB) $(LINTLIB)
  54   54  ROOTLIBDIR =    $(ROOTSCSILIBDIR)
  55   55  ROOTLIBDIR64 =  $(ROOTSCSILIBDIR)/$(MACH64)
  56   56  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX