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/bnxe/Makefile
          +++ new/usr/src/uts/intel/bnxe/Makefile
↓ open down ↓ 78 lines elided ↑ open up ↑
  79   79                     -I$(SRCDIR)/577xx/drivers/common/lm/l4 \
  80   80                     -I$(SRCDIR)/577xx/drivers/common/lm/l4/include \
  81   81                     -I$(SRCDIR)/577xx/drivers/common/lm/l5 \
  82   82                     -I$(SRCDIR)/577xx/drivers/common/lm/l5/include \
  83   83                     -I$(SRCDIR)/577xx/hsi/hw/include \
  84   84                     -I$(SRCDIR)/577xx/hsi/mcp \
  85   85                     -I$(SRCDIR)
  86   86  
  87   87  LDFLAGS         += -dy -r -Ndrv/ip -Nmisc/mac
  88   88  CERRWARN        += -_gcc=-Wno-switch
  89      -CERRWARN        += -_gcc=-Wno-uninitialized
       89 +CERRWARN        += $(CNOWARN_UNINIT)
  90   90  CERRWARN        += -_gcc=-Wno-parentheses
  91   91  CERRWARN        += -_gcc=-Wno-unused-function
  92   92  CERRWARN        += -_gcc=-Wno-unused-value
  93   93  CERRWARN        += -_gcc=-Wno-unused-variable
  94   94  CERRWARN        += -_gcc=-Wno-unused-but-set-variable
  95   95  CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  96   96  CERRWARN        += -_cc=-erroff=E_ARGUEMENT_MISMATCH
  97   97  CERRWARN        += -_cc=-erroff=E_INTEGER_OVERFLOW_DETECTED
  98   98  CERRWARN        += -_cc=-erroff=E_CONST_PROMOTED_UNSIGNED_LL
  99   99  CERRWARN        += -_cc=-erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
↓ open down ↓ 46 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX