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/rootnex/Makefile
          +++ new/usr/src/uts/i86xpv/rootnex/Makefile
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59   59  
  60   60  #
  61   61  #       Overrides.
  62   62  #
  63   63  LDFLAGS         += -dy
  64   64  
  65   65  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  66   66  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  67   67  
  68      -CERRWARN        += -_gcc=-Wno-uninitialized
       68 +CERRWARN        += $(CNOWARN_UNINIT)
  69   69  CERRWARN        += -_gcc=-Wno-unused-label
  70   70  CERRWARN        += -_gcc=-Wno-parentheses
  71   71  CERRWARN        += -_gcc=-Wno-unused-function
  72   72  
  73   73  #
  74   74  #       Default build targets.
  75   75  #
  76   76  .KEEP_STATE:
  77   77  
  78   78  def:            $(DEF_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX