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

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/ctf/cvt/Makefile.com
          +++ new/usr/src/tools/ctf/cvt/Makefile.com
↓ open down ↓ 73 lines elided ↑ open up ↑
  74   74          -ldwarf
  75   75  DWARFCPPFLAGS   = -I$(SRC)/lib/libdwarf/common
  76   76  
  77   77  LDFLAGS         += -L$(NATIVE_ADJUNCT)/lib
  78   78  LDLIBS          += -lz -lelf
  79   79  CPPFLAGS        += -D_REENTRANT
  80   80  CFLAGS          += $(CTF_FLAGS)
  81   81  LINTFLAGS       += -mnux
  82   82  
  83   83  CERRWARN        += -_gcc=-Wno-unused
  84      -CERRWARN        += -_gcc=-Wno-uninitialized
       84 +CERRWARN        += $(CNOWARN_UNINIT)
  85   85  CERRWARN        += -_gcc=-Wno-switch
  86   86  
  87   87  CSTD            = $(CSTD_GNU99)
  88   88  
  89   89  ctfconvert      := LDFLAGS += $(DWARFLDFLAGS)
  90   90  
  91   91  dwarf.o dwarf.ln        := CPPFLAGS += $(DWARFCPPFLAGS)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX