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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsocket/Makefile.com
          +++ new/usr/src/lib/libsocket/Makefile.com
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50  $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  51   51  
  52   52  # Make string literals read-only to save memory.
  53   53  CFLAGS +=       $(XSTRCONST)
  54   54  CFLAGS64 +=     $(XSTRCONST)
  55   55  
  56   56  CPPFLAGS +=     -DSYSV -D_REENTRANT -I../../common/inc
  57   57  %/rcmd.o :=     CPPFLAGS += -DNIS
  58   58  
  59   59  CERRWARN +=     -_gcc=-Wno-type-limits
  60      -CERRWARN +=     -_gcc=-Wno-uninitialized
       60 +CERRWARN +=     $(CNOWARN_UNINIT)
  61   61  CERRWARN +=     -_gcc=-Wno-unused-variable
  62   62  CERRWARN +=     -_gcc=-Wno-parentheses
  63   63  
  64   64  # not linted
  65   65  SMATCH=off
  66   66  
  67   67  .KEEP_STATE:
  68   68  
  69   69  all:
  70   70  
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX