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/dls/Makefile
          +++ new/usr/src/uts/intel/dls/Makefile
↓ open down ↓ 58 lines elided ↑ open up ↑
  59   59  #
  60   60  # For now, disable these lint checks; maintainers should endeavor
  61   61  # to investigate and remove these for maximum lint coverage.
  62   62  # Please do not carry these forward to new Makefiles.
  63   63  #
  64   64  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  65   65  LINTTAGS        += -erroff=E_STATIC_UNUSED
  66   66  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  67   67  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  68   68  
  69      -CERRWARN        += -_gcc=-Wno-uninitialized
       69 +CERRWARN        += $(CNOWARN_UNINIT)
  70   70  
  71   71  # needs work
  72   72  $(OBJS_DIR)/dls_link.o := SMOFF += all_func_returns
  73   73  
  74   74  
  75   75  #
  76   76  # Default build targets.
  77   77  #
  78   78  .KEEP_STATE:
  79   79  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX