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/elfwrap/Makefile.com
          +++ new/usr/src/cmd/sgs/elfwrap/Makefile.com
↓ open down ↓ 48 lines elided ↑ open up ↑
  49   49  
  50   50  MAPFILES =      $(MAPFILE.NGB)
  51   51  MAPOPTS =       $(MAPFILES:%=-M%)
  52   52  
  53   53  CPPFLAGS =      -I. -I../common -I../../include $(CPPFLAGS.master) -I$(ELFCAP)
  54   54  LLDFLAGS =
  55   55  LLDFLAGS64 =
  56   56  LDFLAGS +=      $(VERSREF) $(CC_USE_PROTO) $(MAPOPTS) $(LLDFLAGS)
  57   57  LDLIBS +=       $(ELFLIBDIR) -lelf $(CONVLIBDIR) $(CONV_LIB)
  58   58  
  59      -CERRWARN +=     -_gcc=-Wno-uninitialized
       59 +CERRWARN +=     $(CNOWARN_UNINIT)
  60   60  
  61   61  BLTDEFS =       msg.h
  62   62  BLTDATA =       msg.c
  63   63  BLTMESG =       $(SGSMSGDIR)/elfwrap
  64   64  
  65   65  BLTFILES =      $(BLTDEFS) $(BLTDATA) $(BLTMESG)
  66   66  
  67   67  SGSMSGCOM =     ../common/elfwrap.msg
  68   68  SGSMSGTARG =    $(SGSMSGCOM)
  69   69  SGSMSGALL =     $(SGSMSGCOM)
  70   70  SGSMSGFLAGS +=  -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n elfwrap_msg
  71   71  
  72   72  SRCS =          $(COMOBJ:%.o=../common/%.c) ../common/machine.c \
  73   73                  $(COMOBJ32:%32.o=../common/%.c) \
  74   74                  $(TOOLOBJ:%.o=../../tools/common/%.c) $(BLTDATA)
  75   75  
  76   76  CLEANFILES +=   $(BLTFILES)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX