Print this page
7661 illumos should provide 64bit perl modules

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

@@ -156,12 +157,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) $(LDLIBS)
+BUILD64.SO=     $(CC64) $(CFLAGS64) -o $@ $(GSHARED) $(DYNFLAGS) \
+                $(PICS) $(EXTPICS) -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) $@