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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/gfx_private/Makefile
          +++ new/usr/src/uts/i86xpv/gfx_private/Makefile
↓ open down ↓ 58 lines elided ↑ open up ↑
  59   59  #       Define targets
  60   60  #
  61   61  ALL_TARGET      = $(BINARY)
  62   62  LINT_TARGET     = $(MODULE).lint
  63   63  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  64   64  
  65   65  LINTTAGS +=     -erroff=E_ASSIGN_NARROW_CONV
  66   66  LINTTAGS +=     -erroff=E_BAD_PTR_CAST_ALIGN
  67   67  LINTTAGS +=     -erroff=E_STATIC_UNUSED
  68   68  
  69      -CERRWARN        += -_gcc=-Wno-uninitialized
       69 +CERRWARN        += $(CNOWARN_UNINIT)
  70   70  CERRWARN        += -_gcc=-Wno-parentheses
  71   71  
  72   72  #
  73   73  #       Default build targets.
  74   74  #
  75   75  .KEEP_STATE:
  76   76  
  77   77  def:            $(DEF_DEPS)
  78   78  
  79   79  all:            $(ALL_DEPS)
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX