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/librtld/Makefile.com
          +++ new/usr/src/cmd/sgs/librtld/Makefile.com
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  SRCDIR =        ../common
  44   44  CPPFLAGS +=     -I../../rtld/common -I$(SRCBASE)/lib/libc/inc \
  45   45                  -I$(SRCBASE)/uts/common/krtld -I$(SRC)/common/sgsrtcid \
  46   46                  -I$(SRCBASE)/uts/sparc
  47   47  DYNFLAGS +=     $(VERSREF) $(CC_USE_PROTO)  '-R$$ORIGIN'
  48   48  LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf -lc
  49   49  
  50   50  CERRWARN +=     -_gcc=-Wno-parentheses
  51   51  CERRWARN +=     -_gcc=-Wno-unused-value
  52   52  CERRWARN +=     -_gcc=-Wno-type-limits
  53      -CERRWARN +=     -_gcc=-Wno-uninitialized
       53 +CERRWARN +=     $(CNOWARN_UNINIT)
  54   54  
  55   55  BLTDEFS=        msg.h
  56   56  BLTDATA=        msg.c
  57   57  BLTMESG=        $(SGSMSGDIR)/librtld
  58   58  
  59   59  BLTFILES=       $(BLTDEFS) $(BLTDATA) $(BLTMESG)
  60   60  
  61   61  SGSMSGCOM=      ../common/librtld.msg
  62   62  SGSMSGALL=      $(SGSMSGCOM)
  63   63  SGSMSGTARG=     $(SGSMSGCOM)
  64   64  SGSMSGFLAGS +=  -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n librtld_msg
  65   65  
  66   66  MSGSRCS=        $(MACHOBJS:%.o=%.c)  $(COMOBJS:%.o=../common/%.c) \
  67   67                  $(BLTDATA)
  68   68  
  69   69  CLEANFILES +=   $(BLTFILES)
  70   70  CLOBBERFILES += $(DYNLIB) $(LIBLINKS)
  71   71  
  72   72  ROOTFS_DYNLIB=  $(DYNLIB:%=$(ROOTFS_LIBDIR)/%)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX