summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-22 21:11:29 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-22 21:11:29 +0000
commitf5a8bab604fed3f5ce6e48a3803c8f7229803609 (patch)
treec1102847d4a3d2017951077c323b9311eb062939 /hints
parent9cde0e7fb9816f759feaabc0f640403a7cdbc5c6 (diff)
downloadperl-f5a8bab604fed3f5ce6e48a3803c8f7229803609.tar.gz
sneak in hints/irix_6.sh update
p4raw-id: //depot/perl@1647
Diffstat (limited to 'hints')
-rw-r--r--hints/irix_6.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index a70005a1bb..384701ffd6 100644
--- a/hints/irix_6.sh
+++ b/hints/irix_6.sh
@@ -79,6 +79,8 @@ pp_ctl_cflags='optimize=-O'
esac
ld=ld
+ # perl's malloc can return improperly aligned buffer
+ usemymalloc='undef'
# NOTE: -L/usr/lib32 -L/lib32 are automatically selected by the linker
ldflags=' -L/usr/local/lib32 -L/usr/local/lib'
cccdlflags=' '
@@ -105,7 +107,9 @@ pp_ctl_cflags='optimize=-O'
;;
esac
-# We don't want these libraries. Anyone know why?
+# We don't want these libraries.
+# Socket networking is in libc, these are not installed by default,
+# and just slow perl down. (scotth@sgi.com)
set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'`
shift
libswanted="$*"
@@ -128,9 +132,9 @@ libswanted="$*"
# you need is in libc. You do also need '-lbsd' if you choose not
# to use the -D_BSD_* defines. Note that as of 6.2 the only
# difference between '-lmalloc' and '-lc' malloc is the debugging
-# and control calls. -- scotth@sgi.com
+# and control calls, which aren't used by perl. -- scotth@sgi.com
-set `echo X "$libswanted "|sed -e 's/ sun / /' -e 's/ crypt / /' -e 's/ bsd / /' -e 's/ PW / /'`
+set `echo X "$libswanted "|sed -e 's/ sun / /' -e 's/ crypt / /' -e 's/ bsd / /' -e 's/ PW / /' -e 's/ malloc / /'`
shift
libswanted="$*"