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/pmcs/Makefile
          +++ new/usr/src/uts/intel/pmcs/Makefile
↓ open down ↓ 55 lines elided ↑ open up ↑
  56   56  
  57   57  #
  58   58  # Add additional flags
  59   59  #
  60   60  PMCS_DRV_FLGS   = -DMODNAME=\"${MODULE}\"
  61   61  CPPFLAGS        += $(PMCS_DRV_FLGS) \
  62   62          -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
  63   63          -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
  64   64  
  65   65  CERRWARN        += -_gcc=-Wno-switch
  66      -CERRWARN        += -_gcc=-Wno-uninitialized
       66 +CERRWARN        += $(CNOWARN_UNINIT)
  67   67  CERRWARN        += -_gcc=-Wno-unused-value
  68   68  CERRWARN        += -_gcc=-Wno-unused-label
  69   69  CERRWARN        += -_gcc=-Wno-parentheses
  70   70  
  71   71  # needs work
  72   72  SMATCH=off
  73   73  
  74   74  #
  75   75  #       Default build targets.
  76   76  #
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX