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/usbgem/Makefile
          +++ new/usr/src/uts/intel/usbgem/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  #       The USBGEM has support for various different features. We use
  36   36  #       these pre-processor macros to define the set we care about.
  37   37  #
  38   38  CPPFLAGS        += \
  39   39                  -DUSBGEM_CONFIG_GLDv3 \
  40   40                  -DMODULE \
  41   41                  -DGEN_CONFIG_FMA \
  42   42                  -DUSBGEM_CONFIG_MAC_PROP \
  43   43                  -DVERSION=\"1.6\"
  44   44  
  45      -CERRWARN        += -_gcc=-Wno-uninitialized
       45 +CERRWARN        += $(CNOWARN_UNINIT)
  46   46  CERRWARN        += -_gcc=-Wno-parentheses
  47   47  CERRWARN        += -_gcc=-Wno-switch
  48   48  CERRWARN        += -_gcc=-Wno-unused-variable
  49   49  CERRWARN        += -_gcc=-Wno-unused-label
  50   50  CERRWARN        += -_gcc=-Wno-unused-function
  51   51  
  52   52  # needs work
  53   53  SMOFF += all_func_returns
  54   54  
  55   55  LINTTAGS        += -erroff=E_FUNC_VAR_UNUSED
↓ open down ↓ 41 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX