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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/prof/Makefile.com
          +++ new/usr/src/cmd/sgs/prof/Makefile.com
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  
  37   37  OBJS=           $(COMOBJS)
  38   38  
  39   39  SRCS=           $(COMOBJS:%.o=../common/%.c)
  40   40  
  41   41  INCLIST=        -I../common -I../../include -I../../include/$(MACH)
  42   42  
  43   43  CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master) -I$(ELFCAP)
  44   44  CFLAGS +=       $(CCVERBOSE)
  45   45  CSTD=   $(CSTD_GNU99)
  46      -CERRWARN +=     -_gcc=-Wno-uninitialized
       46 +CERRWARN +=     $(CNOWARN_UNINIT)
  47   47  
  48   48  # not linted
  49   49  SMATCH=off
  50   50  
  51   51  LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
  52   52  
  53   53  %.o:            ../common/%.c
  54   54                  $(COMPILE.c) $<
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX