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/generic_cpu/Makefile
          +++ new/usr/src/uts/i86pc/generic_cpu/Makefile
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  OBJECTS         = $(CPU_GCPU_OBJS:%=$(OBJS_DIR)/%)
  37   37  OBJECTS         += $(CPU_GCPU_NTV_OBJS:%=$(OBJS_DIR)/%)
  38   38  ROOTMODULE      = $(ROOT_PSM_CPU_DIR)/$(MODULE)
  39   39  
  40   40  #
  41   41  #       Include common rules.
  42   42  #
  43   43  include ../cpu/Makefile.cpu
  44   44  
  45   45  CERRWARN        += -_gcc=-Wno-parentheses
  46      -CERRWARN        += -_gcc=-Wno-uninitialized
       46 +CERRWARN        += $(CNOWARN_UNINIT)
  47   47  
  48   48  #
  49   49  #       Define targets
  50   50  #
  51   51  ALL_TARGET      = $(BINARY)
  52   52  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  53   53  
  54   54  #
  55   55  #       Default build targets.
  56   56  #
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX