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

*** 7,18 **** # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # - # Copyright (c) 2014 Racktop Systems. # Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved. # # Link against libc as perl solaris specs $(PERLEXT):= LDLIBS += -lc $(PERLEXT64):= LDLIBS += -lc --- 7,18 ---- # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved. + # Copyright 2016 RackTop Systems. # # Link against libc as perl solaris specs $(PERLEXT):= LDLIBS += -lc $(PERLEXT64):= LDLIBS += -lc
*** 27,48 **** $(ROOTPERLMOD64) := FILEMODE = 0444 # CFLAGS for perl, specifically. PCFLAGS= -DPERL_EUPXS_ALWAYS_EXPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ -DPERL_USE_SAFE_PUTENV -D_TS_ERRNO ! PCFLAGS64= -m64 -DPERL_EUPXS_ALWAYS_EXPORT -D_LARGEFILE64_SOURCE \ -DPERL_USE_SAFE_PUTENV -D_TS_ERRNO $(MACH) $(MACH64): $(INS.dir) - # Sorry about this... - # BUILD.SO doesn't have distinct versions like COMPILE.c/COMPILE64.c does. - # To that end - we're defining BUILD64.SO here. - BUILD64.SO= $(CC) $(CFLAGS64) -o $@ $(GSHARED) $(DYNFLAGS) \ - $(PICS) $(EXTPICS) -L $(ROOTLIBDIR64) $(LDLIBS) - $(PERLEXT): $(MACH)/$(MODULE).o $(BUILD.SO) $(MACH)/$(MODULE).o $(PERLEXT64): $(MACH64)/$(MODULE).o $(BUILD64.SO) $(MACH64)/$(MODULE).o --- 27,42 ---- $(ROOTPERLMOD64) := FILEMODE = 0444 # CFLAGS for perl, specifically. PCFLAGS= -DPERL_EUPXS_ALWAYS_EXPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ -DPERL_USE_SAFE_PUTENV -D_TS_ERRNO ! PCFLAGS64= -DPERL_EUPXS_ALWAYS_EXPORT -D_LARGEFILE64_SOURCE \ -DPERL_USE_SAFE_PUTENV -D_TS_ERRNO $(MACH) $(MACH64): $(INS.dir) $(PERLEXT): $(MACH)/$(MODULE).o $(BUILD.SO) $(MACH)/$(MODULE).o $(PERLEXT64): $(MACH64)/$(MODULE).o $(BUILD64.SO) $(MACH64)/$(MODULE).o