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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libproc/Makefile.com
          +++ new/usr/src/lib/libproc/Makefile.com
↓ open down ↓ 87 lines elided ↑ open up ↑
  88   88  LDLIBS +=       -lrtld_db -lelf -lctf -lc
  89   89  CSTD =  $(CSTD_GNU99)
  90   90  CPPFLAGS +=     $($(MACH64)_CPPFLAGS)
  91   91  
  92   92  SRCDIR =        ../common
  93   93  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  94   94  
  95   95  CFLAGS +=       $(CCVERBOSE)
  96   96  CPPFLAGS +=     -I$(SRCDIR)
  97   97  
  98      -CERRWARN +=     -_gcc=-Wno-uninitialized
       98 +CERRWARN +=     $(CNOWARN_UNINIT)
  99   99  CERRWARN +=     -_gcc=-Wno-parentheses
 100  100  CERRWARN +=     -_gcc=-Wno-type-limits
 101  101  CERRWARN +=     -_gcc=-Wno-unused-label
 102  102  
 103  103  # not linted
 104  104  SMATCH=off
 105  105  
 106  106  # All interfaces are interposable, therefore don't allow direct binding to
 107  107  # libproc.  Disable libproc from directly binding to itself, but allow libperl
 108  108  # to directly bind to its dependencies (ie. map -Bdirect -> -zdirect).  Ensure
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX