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/mwl/Makefile
          +++ new/usr/src/uts/intel/mwl/Makefile
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58  #
  59   59  #       Driver depends on GLDv3 & wifi kernel support module.
  60   60  #
  61   61  LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211
  62   62  
  63   63  #
  64   64  #       Overrides
  65   65  #
  66   66  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  67   67  
  68      -CERRWARN        += -_gcc=-Wno-uninitialized
       68 +CERRWARN        += $(CNOWARN_UNINIT)
  69   69  CERRWARN        += -_gcc=-Wno-unused-value
  70   70  
  71   71  # needs work
  72   72  SMOFF += return_cast
  73   73  
  74   74  #
  75   75  #       Default build targets.
  76   76  #
  77   77  .KEEP_STATE:
  78   78  
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX