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/ip/Makefile
          +++ new/usr/src/uts/sparc/ip/Makefile
↓ open down ↓ 74 lines elided ↑ open up ↑
  75   75  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  76   76  LINTTAGS        += -erroff=E_STATIC_UNUSED
  77   77  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  78   78  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  79   79  
  80   80  CERRWARN        += -_gcc=-Wno-parentheses
  81   81  CERRWARN        += -_gcc=-Wno-unused-label
  82   82  CERRWARN        += -_gcc=-Wno-unused-function
  83   83  CERRWARN        += -_gcc=-Wno-unused-variable
  84   84  CERRWARN        += -_gcc=-Wno-switch
  85      -CERRWARN        += -_gcc=-Wno-uninitialized
       85 +CERRWARN        += $(CNOWARN_UNINIT)
  86   86  CERRWARN        += -_gcc=-Wno-type-limits
  87   87  
  88   88  #
  89   89  # Depends on md5 and swrand (for SCTP). SCTP needs to depend on
  90   90  # swrand as it needs random numbers early on during boot before
  91   91  # kCF subsystem can load swrand.
  92   92  #
  93   93  LDFLAGS         += -dy -Nmisc/md5 -Ncrypto/swrand -Nmisc/hook -Nmisc/neti 
  94   94  
  95   95  #
↓ open down ↓ 48 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX