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/ecc/Makefile
          +++ new/usr/src/uts/intel/ecc/Makefile
↓ open down ↓ 58 lines elided ↑ open up ↑
  59   59  LDFLAGS += -dy -Nmisc/kcf
  60   60  
  61   61  CPPFLAGS        += -I$(COM1_DIR) -I$(COM2_DIR)
  62   62  
  63   63  CFLAGS          += -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
  64   64  
  65   65  LINTFLAGS       += -I$(COM1_DIR) -I$(COM2_DIR)
  66   66  
  67   67  CERRWARN        += -_gcc=-Wno-switch
  68   68  CERRWARN        += -_gcc=-Wno-unused-label
  69      -CERRWARN        += -_gcc=-Wno-uninitialized
       69 +CERRWARN        += $(CNOWARN_UNINIT)
  70   70  CERRWARN        += -_gcc=-Wno-type-limits
  71   71  CERRWARN        += -_gcc=-Wno-empty-body
  72   72  CERRWARN        += -_gcc=-Wno-unused-variable
  73   73  CERRWARN        += -_gcc=-Wno-parentheses
  74   74  
  75   75  # false positive
  76   76  $(OBJS_DIR)/ecdecode.o := SMOFF += assign_vs_compare
  77   77  $(OBJS_DIR)/ec.o := SMOFF += assign_vs_compare
  78   78  
  79   79  SMOFF += indenting,all_func_returns
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX