diff options
| author | rie <none@none> | 2008-01-24 16:39:56 -0800 |
|---|---|---|
| committer | rie <none@none> | 2008-01-24 16:39:56 -0800 |
| commit | f6acbf7c6543dc0aab58cae1df419f0147c46d77 (patch) | |
| tree | c47eb83752097c5a99a6eda6c4923edec8272c4b /usr/src/cmd/perl | |
| parent | 11022c7cf39f3b863e749f3866f6ddcb445c2d05 (diff) | |
| download | illumos-joyent-f6acbf7c6543dc0aab58cae1df419f0147c46d77.tar.gz | |
4947191 OSNet should use direct bindings
Diffstat (limited to 'usr/src/cmd/perl')
| -rw-r--r-- | usr/src/cmd/perl/5.6.1/distrib/Makefile.lib | 8 | ||||
| -rw-r--r-- | usr/src/cmd/perl/5.8.4/distrib/Makefile.lib | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/usr/src/cmd/perl/5.6.1/distrib/Makefile.lib b/usr/src/cmd/perl/5.6.1/distrib/Makefile.lib index c559d39e2e..88ec1861d4 100644 --- a/usr/src/cmd/perl/5.6.1/distrib/Makefile.lib +++ b/usr/src/cmd/perl/5.6.1/distrib/Makefile.lib @@ -19,7 +19,7 @@ # CDDL HEADER END # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -76,6 +76,12 @@ include ../Makefile.perlcfg # There should be a mapfile here MAPFILES = +# Disable perl from directly binding to itself, but allow perl to directly bind +# to its dependencies (ie. map -Bdirect -> -zdirect). Ensure lazy loading is +# established (which is enabled automatically with -Bdirect). +BDIRECT = $(ZDIRECT) +LDFLAGS += $(ZLAZYLOAD) + # Add in the perl-specific flags (including largefile flags). CPPFLAGS += $(PERL_COREFLAGS) $(PERL_LFFLAGS) diff --git a/usr/src/cmd/perl/5.8.4/distrib/Makefile.lib b/usr/src/cmd/perl/5.8.4/distrib/Makefile.lib index b5e6a6950f..8bcb2db4b5 100644 --- a/usr/src/cmd/perl/5.8.4/distrib/Makefile.lib +++ b/usr/src/cmd/perl/5.8.4/distrib/Makefile.lib @@ -19,7 +19,7 @@ # CDDL HEADER END # # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -82,6 +82,12 @@ include ../Makefile.perlcfg # There should be a mapfile here MAPFILES = +# Disable perl from directly binding to itself, but allow perl to directly bind +# to its dependencies (ie. map -Bdirect -> -zdirect). Ensure lazy loading is +# established (which is enabled automatically with -Bdirect). +BDIRECT = $(ZDIRECT) +LDFLAGS += $(ZLAZYLOAD) + # Add in the perl-specific flags (including largefile flags). CPPFLAGS += $(PERL_COREFLAGS) $(PERL_LFFLAGS) |
