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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc_db/Makefile.com
          +++ new/usr/src/lib/libc_db/Makefile.com
↓ open down ↓ 40 lines elided ↑ open up ↑
  41   41  SRCDIR =        ../common
  42   42  SRCS = $(CMNOBJS:%.o=$(SRCDIR)/%.c)
  43   43  $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
  44   44  
  45   45  ASFLAGS +=      -P -D__STDC__ -D_ASM -DPIC
  46   46  CPPFLAGS +=     -I../../libc/inc -D_REENTRANT
  47   47  CFLAGS +=       $(CCVERBOSE)
  48   48  LDLIBS +=       -lc
  49   49  
  50   50  CERRWARN +=     -_gcc=-Wno-type-limits
  51      -CERRWARN +=     -_gcc=-Wno-uninitialized
       51 +CERRWARN +=     $(CNOWARN_UNINIT)
  52   52  
  53   53  # not linted
  54   54  SMATCH=off
  55   55  
  56   56  .KEEP_STATE:
  57   57  
  58   58  all: $(LIBS)
  59   59  
  60   60  lint: lintcheck
  61   61  
  62   62  include ../../Makefile.targ
  63   63  
  64   64  pics/%.o: $(CRTSRCS)/%.s
  65   65          $(COMPILE.s) -o $@ $<
  66   66          $(POST_PROCESS_S_O)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX