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/gprof/Makefile.com
          +++ new/usr/src/cmd/sgs/gprof/Makefile.com
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  OBJS=           $(COMOBJS)
  38   38  BLURBS=         gprof.callg.blurb gprof.flat.blurb
  39   39  SRCS=           $(COMOBJS:%.o=../common/%.c)
  40   40  
  41   41  INCLIST=        -I../common -I../../include -I../../include/$(MACH)
  42   42  DEFLIST=        -DELF_OBJ -DELF
  43   43  CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master) -I$(ELFCAP)
  44   44  CFLAGS +=       $(CCVERBOSE)
  45   45  CSTD=   $(CSTD_GNU99)
  46   46  LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
  47      -CERRWARN +=     -_gcc=-Wno-uninitialized
       47 +CERRWARN +=     $(CNOWARN_UNINIT)
  48   48  
  49   49  # not linted
  50   50  SMATCH=off
  51   51  
  52   52  ROOTLIBBLURB=   $(BLURBS:%=$(ROOTSHLIBCCS)/%)
  53   53  
  54   54  $(ROOTLIBBLURB) :=      FILEMODE=       444
  55   55  
  56   56  %.o:            ../common/%.c
  57   57                  $(COMPILE.c) $<
  58   58  .PARALLEL: $(OBJS)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX