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/cpudrv/Makefile
          +++ new/usr/src/uts/i86pc/cpudrv/Makefile
↓ open down ↓ 44 lines elided ↑ open up ↑
  45   45  include $(UTSBASE)/i86pc/Makefile.i86pc
  46   46  
  47   47  #
  48   48  #       Define targets
  49   49  #
  50   50  ALL_TARGET      = $(BINARY)
  51   51  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  52   52  
  53   53  CFLAGS += $(CCVERBOSE)
  54   54  
  55      -CERRWARN        += -_gcc=-Wno-uninitialized
       55 +CERRWARN        += $(CNOWARN_UNINIT)
  56   56  CERRWARN        += -_gcc=-Wno-parentheses
  57   57  CERRWARN        += -_gcc=-Wno-unused-function
  58   58  
  59   59  #
  60   60  # Link to acpica for ACPI services
  61   61  #
  62   62  LDFLAGS         += -dy -N misc/acpica
  63   63  
  64   64  #
  65   65  #       Default build targets.
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX