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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/cpr/Makefile
          +++ new/usr/src/uts/i86pc/cpr/Makefile
↓ open down ↓ 61 lines elided ↑ open up ↑
  62   62  #
  63   63  #       Define targets
  64   64  #
  65   65  ALL_TARGET      = $(BINARY)
  66   66  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  67   67  
  68   68  CFLAGS += $(CCVERBOSE)
  69   69  
  70   70  CERRWARN        += -_gcc=-Wno-unused-variable
  71   71  CERRWARN        += -_gcc=-Wno-unused-label
  72      -CERRWARN        += -_gcc=-Wno-uninitialized
       72 +CERRWARN        += $(CNOWARN_UNINIT)
  73   73  CERRWARN        += -_gcc=-Wno-parentheses
  74   74  $(OBJS_DIR)/cpr_impl.o :=       CERRWARN        += -_gcc=-Wno-unused-function
  75   75  
  76   76  #
  77   77  #       Default build targets.
  78   78  #
  79   79  .KEEP_STATE:
  80   80  
  81   81  def:            $(DEF_DEPS)
  82   82  
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX