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

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