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/sfe/Makefile
          +++ new/usr/src/uts/intel/sfe/Makefile
↓ open down ↓ 70 lines elided ↑ open up ↑
  71   71  #       on fast data path
  72   72  
  73   73  CPPFLAGS        += $(VFLAGS) $(AFLAGS) $(DFLAGS) $(CFGFLAGS) $(CCVERBOSE) \
  74   74          -I$(UTSBASE)/common/io/sfe
  75   75  
  76   76  CFLAGS          += $(CPPFLAGS)
  77   77  
  78   78  CERRWARN        += -_gcc=-Wno-unused-label
  79   79  CERRWARN        += -_gcc=-Wno-switch
  80   80  CERRWARN        += -_gcc=-Wno-parentheses
  81      -CERRWARN        += -_gcc=-Wno-uninitialized
       81 +CERRWARN        += $(CNOWARN_UNINIT)
  82   82  
  83   83  # needs work
  84   84  SMOFF += all_func_returns
  85   85  
  86   86  #
  87   87  # Driver depends on MAC & IP
  88   88  #
  89   89  LDFLAGS         += -dy -N misc/mac -N drv/ip
  90   90  
  91   91  #
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX