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/generic_cpu/Makefile
          +++ new/usr/src/uts/i86xpv/generic_cpu/Makefile
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  LINTS           = $(CPU_GCPU_OBJS:%.o=$(LINTS_DIR)/%.ln)
  39   39  ROOTMODULE      = $(ROOT_PSM_CPU_DIR)/$(MODULE)
  40   40  
  41   41  #
  42   42  #       Include common rules.
  43   43  #
  44   44  include $(UTSBASE)/i86xpv/Makefile.i86xpv
  45   45  include $(UTSBASE)/i86pc/cpu/Makefile.files
  46   46  
  47   47  CERRWARN        += -_gcc=-Wno-parentheses
  48      -CERRWARN        += -_gcc=-Wno-uninitialized
       48 +CERRWARN        += $(CNOWARN_UNINIT)
  49   49  CERRWARN        += -_gcc=-Wno-unused-variable
  50   50  
  51   51  #
  52   52  #       Our lint library has a different name from that of the module we build.
  53   53  #
  54   54  LINT_MODULE     = generic_cpu
  55   55  
  56   56  #
  57   57  #       Define targets
  58   58  #
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX