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/e1000g/Makefile
          +++ new/usr/src/uts/intel/e1000g/Makefile
↓ open down ↓ 50 lines elided ↑ open up ↑
  51   51            -I$(UTSBASE)/common/io/e1000api
  52   52  
  53   53  LINTFLAGS += \
  54   54          -I$(UTSBASE)/common/io/e1000g \
  55   55          -I$(UTSBASE)/common/io/e1000api
  56   56  
  57   57  CFLAGS_CPP_COMMENTS = -xCC
  58   58  
  59   59  CFLAGS += $(CFLAGS_CPP_COMMENTS)
  60   60  
  61      -CERRWARN        += -_gcc=-Wno-uninitialized
       61 +CERRWARN        += $(CNOWARN_UNINIT)
  62   62  CERRWARN        += -_gcc=-Wno-parentheses
  63   63  CERRWARN        += -_gcc=-Wno-switch
  64   64  CERRWARN        += -_gcc=-Wno-unused-label
  65   65  CERRWARN        += -_gcc=-Wno-unused-variable
  66   66  CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  67   67  
  68   68  SMOFF += all_func_returns,indenting,shift_to_zero
  69   69  
  70   70  LINTTAGS        += -erroff=E_CONSTANT_CONDITION
  71   71  
↓ open down ↓ 40 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX