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/intel_nhm/Makefile
          +++ new/usr/src/uts/intel/intel_nhm/Makefile
↓ open down ↓ 48 lines elided ↑ open up ↑
  49   49  #
  50   50  #       Define targets
  51   51  #
  52   52  ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  53   53  LINT_TARGET     = $(LINT_MODULE).lint
  54   54  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55   55  
  56   56  CPPFLAGS        +=  -I$(UTSBASE)/i86pc
  57   57  LDFLAGS         += -dy -N drv/smbios
  58   58  
  59      -CERRWARN        += -_gcc=-Wno-uninitialized
       59 +CERRWARN        += $(CNOWARN_UNINIT)
  60   60  
  61   61  #
  62   62  #       Default build targets.
  63   63  #
  64   64  .KEEP_STATE:
  65   65  
  66   66  def:            $(DEF_DEPS)
  67   67  
  68   68  all:            $(ALL_DEPS)
  69   69  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX