Print this page
7661 illumos should provide 64bit perl modules

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/Makefile.lib
          +++ new/usr/src/lib/Makefile.lib
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  # Copyright 2015 Gary Mills
  22   22  # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
  23   23  # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
       24 +# Copyright 2016 RackTop Systems.
  24   25  #
  25   26  #
  26   27  # Definitions common to libraries.
  27   28  #
  28   29  # include global definitions; SRC should be defined in the shell.
  29   30  # SRC is needed until RFE 1026993 is implemented.
  30   31  
  31   32  include         $(SRC)/Makefile.master
  32   33  
  33   34  LORDER=         lorder
↓ open down ↓ 117 lines elided ↑ open up ↑
 151  152  .PARALLEL:      $(OBJS) $(PICS) DUMMY
 152  153  
 153  154  # default value for "portable" source
 154  155  SRCS=           $(OBJECTS:%.o=$(SRCDIR)/%.c)
 155  156  
 156  157  # default build of an archive and a shared object,
 157  158  # overridden locally when extra processing is needed
 158  159  BUILD.AR=       $(AR) $(ARFLAGS) $@ $(AROBJS)
 159  160  BUILD.SO=       $(CC) $(CFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
 160  161                  $(PICS) $(EXTPICS) $(LDLIBS)
      162 +BUILD64.SO=     $(CC64) $(CFLAGS64) -o $@ $(GSHARED) $(DYNFLAGS) \
      163 +                $(PICS) $(EXTPICS) -L $(ROOTLIBDIR64) $(LDLIBS)
 161  164  BUILDCCC.SO=    $(CCC) $(CCFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
 162  165                  $(PICS) $(EXTPICS) $(LDLIBS)
      166 +BUILDCCC64.SO=  $(CCC64) $(CCFLAGS64) -o $@ $(GSHARED) $(DYNFLAGS) \
      167 +                $(PICS) $(EXTPICS) $(LDLIBS) $(CCNEEDED64)
 163  168  
 164  169  # default dynamic library symlink
 165  170  INS.liblink=    -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
 166  171  INS.liblinkccc= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@
 167  172  
 168  173  # default 64-bit dynamic library symlink
 169  174  INS.liblink64=  -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
 170  175  INS.liblinkccc64= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@
 171  176  
 172  177  #
↓ open down ↓ 84 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX