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/zyd/Makefile
          +++ new/usr/src/uts/intel/zyd/Makefile
↓ open down ↓ 51 lines elided ↑ open up ↑
  52   52  #
  53   53  ALL_TARGET      = $(BINARY)
  54   54  LINT_TARGET     = $(MODULE).lint
  55   55  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56   56  
  57   57  #
  58   58  #       Driver depends on GLDv3 & wifi kernel support module.
  59   59  #
  60   60  LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211 -Nmisc/usba
  61   61  
  62      -CERRWARN        += -_gcc=-Wno-uninitialized
       62 +CERRWARN        += $(CNOWARN_UNINIT)
  63   63  
  64   64  #
  65   65  #       Default build targets.
  66   66  #
  67   67  .KEEP_STATE:
  68   68  
  69   69  def:            $(DEF_DEPS)
  70   70  
  71   71  all:            $(ALL_DEPS)
  72   72  
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX