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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libndmp/Makefile.com
          +++ new/usr/src/lib/libndmp/Makefile.com
↓ open down ↓ 45 lines elided ↑ open up ↑
  46   46  INCS += -I$(SRCDIR)
  47   47  INCS += -I$(SRC)/cmd/ndmpd/include
  48   48  
  49   49  CSTD=   $(CSTD_GNU99)
  50   50  C99LMODE=       -Xc99=%all
  51   51  LIBS=   $(DYNLIB) $(LINTLIB)
  52   52  LDLIBS +=       -lc -lscf
  53   53  CPPFLAGS +=     $(INCS) -D_REENTRANT
  54   54  
  55   55  CERRWARN +=     -_gcc=-Wno-char-subscripts
  56      -CERRWARN +=     -_gcc=-Wno-uninitialized
       56 +CERRWARN +=     $(CNOWARN_UNINIT)
  57   57  
  58   58  SRCS=   $(OBJECTS:%.o=$(SRCDIR)/%.c)
  59   59  $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  60   60  
  61   61  .KEEP_STATE:
  62   62  
  63   63  all: $(LIBS)
  64   64  
  65   65  lint: lintcheck
  66   66  
  67   67  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX