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/sol_ofs/Makefile
          +++ new/usr/src/uts/intel/sol_ofs/Makefile
↓ open down ↓ 52 lines elided ↑ open up ↑
  53   53  #
  54   54  # For now, disable these lint checks; maintainers should endeavor
  55   55  # to investigate and remove these for maximum lint coverage.
  56   56  # Please do not carry these forward to new Makefiles.
  57   57  #
  58   58  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  59   59  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  60   60  LINTTAGS        += -erroff=E_STATIC_UNUSED
  61   61  LINTTAGS        += -erroff=E_CONST_TRUNCATED_BY_ASSIGN
  62   62  
  63      -CERRWARN        += -_gcc=-Wno-uninitialized
       63 +CERRWARN        += $(CNOWARN_UNINIT)
  64   64  CERRWARN        += -_gcc=-Wno-parentheses
  65   65  CERRWARN        += -_gcc=-Wno-type-limits
  66   66  CERRWARN        += -_gcc=-Wno-unused-variable
  67   67  
  68   68  # needs work
  69   69  $(OBJS_DIR)/sol_cma.o := SMOFF += deref_check
  70   70  
  71   71  #
  72   72  #       Default build targets.
  73   73  #
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX