Print this page
7661 illumos should provide 64bit perl modules (for omni)

@@ -20,10 +20,11 @@
 #
 # Copyright 2015 Gary Mills
 # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright (c) 2014, Joyent, Inc.
+# Copyright 2016 RackTop Systems.
 #
 #
 # Definitions common to libraries.
 #
 # include global definitions; SRC should be defined in the shell.

@@ -174,12 +175,16 @@
 # default build of an archive and a shared object,
 # overridden locally when extra processing is needed
 BUILD.AR=       $(AR) $(ARFLAGS) $@ $(AROBJS)
 BUILD.SO=       $(CC) $(CFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
                 $(PICS) $(EXTPICS) $(USDT_PICS) $(LDLIBS)
+BUILD64.SO=     $(CC64) $(CFLAGS64) -o $@ $(GSHARED) $(DYNFLAGS) \
+                $(PICS) $(EXTPICS) $(USDT_PICS) -L $(ROOTLIBDIR64) $(LDLIBS)
 BUILDCCC.SO=    $(CCC) $(CCFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
                 $(PICS) $(EXTPICS) $(LDLIBS)
+BUILDCCC64.SO=  $(CCC64) $(CCFLAGS64) -o $@ $(GSHARED) $(DYNFLAGS) \
+                $(PICS) $(EXTPICS) $(LDLIBS) $(CCNEEDED64)
 
 # default dynamic library symlink
 INS.liblink=    -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
 INS.liblinkccc= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@