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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/iscsi/Makefile
          +++ new/usr/src/uts/intel/iscsi/Makefile
↓ open down ↓ 65 lines elided ↑ open up ↑
  66   66  LDFLAGS += -dy -N"misc/scsi" -N"fs/sockfs" -N"sys/doorfs" -Nmisc/md5 -Nmisc/ksocket
  67   67  LDFLAGS += -N"misc/idm"
  68   68  
  69   69  LINTFLAGS += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
  70   70  LINTFLAGS64 += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
  71   71  
  72   72  CERRWARN        += -_gcc=-Wno-switch
  73   73  CERRWARN        += -_gcc=-Wno-unused-function
  74   74  CERRWARN        += -_gcc=-Wno-parentheses
  75   75  CERRWARN        += -_gcc=-Wno-type-limits
  76      -CERRWARN        += -_gcc=-Wno-uninitialized
       76 +CERRWARN        += $(CNOWARN_UNINIT)
  77   77  
  78   78  # needs work
  79   79  SMATCH=off
  80   80  
  81   81  #
  82   82  # Default build targets.
  83   83  #
  84   84  .KEEP_STATE:
  85   85  
  86   86  def:            $(DEF_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX