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/libses/Makefile.defs
          +++ new/usr/src/lib/scsi/libses/Makefile.defs
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  #
  25   25  # Copyright (c) 2018, Joyent, Inc.
  26   26  
  27   27  SRCS = $(OBJECTS:%.o=../common/%.c)
  28   28  CSTD = $(CSTD_GNU99)
  29   29  CPPFLAGS += -I../common -I. -D_REENTRANT
  30   30  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  31   31  CFLAGS += $(CCVERBOSE)
  32   32  
  33   33  CERRWARN += -_gcc=-Wno-type-limits
  34      -CERRWARN += -_gcc=-Wno-uninitialized
       34 +CERRWARN += $(CNOWARN_UNINIT)
  35   35  CERRWARN += -_gcc=-Wno-unused-label
  36   36  
  37   37  SMOFF += all_func_returns
  38   38  
  39   39  ROOTLIBDIR = $(ROOTSCSILIBDIR)
  40   40  ROOTLIBDIR64 = $(ROOTSCSILIBDIR)/$(MACH64)
  41   41  
  42   42  DYNFLAGS32 += -R$(SCSILIBDIR)
  43   43  DYNFLAGS64 += -R$(SCSILIBDIR)/$(MACH64)
  44   44  
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX