Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/pmcs/Makefile
          +++ new/usr/src/uts/sparc/pmcs/Makefile
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60  
  61   61  #
  62   62  # Add additional flags
  63   63  #
  64   64  PMCS_DRV_FLGS   = -DMODNAME=\"${MODULE}\" -DDISABLE_MSIX
  65   65  CPPFLAGS        += $(PMCS_DRV_FLGS) \
  66   66          -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
  67   67          -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
  68   68  
  69   69  CERRWARN        += -_gcc=-Wno-switch
  70      -CERRWARN        += -_gcc=-Wno-uninitialized
       70 +CERRWARN        += $(CNOWARN_UNINIT)
  71   71  CERRWARN        += -_gcc=-Wno-unused-value
  72   72  CERRWARN        += -_gcc=-Wno-unused-label
  73   73  CERRWARN        += -_gcc=-Wno-parentheses
  74   74  
  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