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/pcie/Makefile
          +++ new/usr/src/uts/i86pc/pcie/Makefile
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50  #
  51   51  LDFLAGS         += -dy -Nmisc/acpica -Nmisc/busra
  52   52  
  53   53  #
  54   54  #       Define targets
  55   55  #
  56   56  ALL_TARGET      = $(BINARY)
  57   57  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58   58  
  59   59  CERRWARN        += -_gcc=-Wno-unused-value
  60      -CERRWARN        += -_gcc=-Wno-uninitialized
       60 +CERRWARN        += $(CNOWARN_UNINIT)
  61   61  CERRWARN        += -_gcc=-Wno-parentheses
  62   62  CERRWARN        += -_gcc=-Wno-unused-variable
  63   63  CERRWARN        += -_gcc=-Wno-unused-function # safe
  64   64  
  65   65  # needs work
  66   66  SMOFF += all_func_returns,deref_check
  67   67  
  68   68  #
  69   69  #       Default build targets.
  70   70  #
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX