Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/librtld/Makefile.com
          +++ new/usr/src/cmd/sgs/librtld/Makefile.com
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34                  util.o
  35   35  BLTOBJ=         msg.o
  36   36  
  37   37  OBJECTS=        $(BLTOBJ)  $(MACHOBJS)  $(COMOBJS)
  38   38  
  39   39  
  40   40  include         $(SRC)/lib/Makefile.lib
  41   41  include         $(SRC)/cmd/sgs/Makefile.com
  42   42  
  43   43  SRCDIR =        ../common
  44      -CPPFLAGS +=     -I../../rtld/common -I$(SRCBASE)/lib/libc/inc \
  45      -                -I$(SRCBASE)/uts/common/krtld -I$(SRC)/common/sgsrtcid \
  46      -                -I$(SRCBASE)/uts/sparc
  47      -DYNFLAGS +=     $(VERSREF) $(CC_USE_PROTO)  '-R$$ORIGIN'
  48      -LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf -lc
       44 +CPPFLAGS +=     -I../../rtld/common -I$(SRC)/lib/libc/inc \
       45 +                -I$(SRC)/uts/common/krtld -I$(SRC)/common/sgsrtcid \
       46 +                -I$(SRC)/uts/sparc
       47 +DYNFLAGS +=     $(VERSREF) '-R$$ORIGIN'
       48 +LDLIBS +=       $(CONVLIBDIR) -lconv $(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   53  CERRWARN +=     -_gcc=-Wno-uninitialized
  54   54  
  55   55  BLTDEFS=        msg.h
  56   56  BLTDATA=        msg.c
  57   57  BLTMESG=        $(SGSMSGDIR)/librtld
  58   58  
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX