summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/hints
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-01-15 21:18:29 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-01-15 21:18:29 +0000
commit900aea5fee6e7e0e7e6e8c4f0192f99befa3a927 (patch)
tree79ecffc72620d46df9fe0d71286e0e466415b7f5 /gnu/usr.bin/perl/hints
parenta529bb51c131f3975e0a7daa8eb3d2c865f3fc52 (diff)
perl 5.8.6 from CPAN
Diffstat (limited to 'gnu/usr.bin/perl/hints')
-rw-r--r--gnu/usr.bin/perl/hints/aix_4.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/hints/aix_4.sh b/gnu/usr.bin/perl/hints/aix_4.sh
index 35ae7818838..489ce89a732 100644
--- a/gnu/usr.bin/perl/hints/aix_4.sh
+++ b/gnu/usr.bin/perl/hints/aix_4.sh
@@ -216,7 +216,11 @@ regcomp_cflags='optimize='
# -bI:$(PERL_INC)/perl.exp Read the exported symbols from the perl binary
# -bE:$(BASEEXT).exp Export these symbols. This file contains only one
# symbol: boot_$(EXP) can it be auto-generated?
-lddlflags="$lddlflags -bhalt:4 -bM:SRE -bI:\$(PERL_INC)/perl.exp -bE:\$(BASEEXT).exp -bnoentry -lc"
+if test $usenativedlopen = 'true' ; then
+ lddlflags="$lddlflags -bhalt:4 -bexpall -G -bnoentry -lc"
+else
+ lddlflags="$lddlflags -bhalt:4 -bM:SRE -bI:\$(PERL_INC)/perl.exp -bE:\$(BASEEXT).exp -bnoentry -lc"
+ fi
case "$use64bitall" in
$define|true|[yY]*) use64bitint="$define" ;;
@@ -402,6 +406,7 @@ libswanted_uselargefiles="`getconf XBS5_ILP32_OFFBIG_LIBS 2>/dev/null|sed -e 's@
ccflags="`echo $ccflags | sed -e 's@ -b@ -Wl,-b@g'`"
ldflags="`echo ' '$ldflags | sed -e 's@ -b@ -Wl,-b@g'`"
lddlflags="`echo ' '$lddlflags | sed -e 's@ -b@ -Wl,-b@g'`"
+ lddlflags="`echo ' '$lddlflags | sed -e 's@ -G @ -Wl,-G @g'`"
ld='gcc'
echo >&4 "(using ccflags $ccflags)"
echo >&4 "(using ldflags $ldflags)"