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/net80211/Makefile
          +++ new/usr/src/uts/intel/net80211/Makefile
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60  #
  61   61  CFLAGS          += $(CCVERBOSE)
  62   62  LDFLAGS         += -dy -Nmisc/mac -Nmac/mac_wifi -Ndrv/ip
  63   63  
  64   64  #
  65   65  # STREAMS API limitations force us to turn off these lint checks.
  66   66  #
  67   67  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68   68  
  69   69  CERRWARN        += -_gcc=-Wno-switch
  70      -CERRWARN        += -_gcc=-Wno-uninitialized
       70 +CERRWARN        += $(CNOWARN_UNINIT)
  71   71  CERRWARN        += -_gcc=-Wno-parentheses
  72   72  
  73   73  # needs work
  74   74  SMATCH=off
  75   75  
  76   76  #
  77   77  #       Default build targets.
  78   78  #
  79   79  .KEEP_STATE:
  80   80  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX