summaryrefslogtreecommitdiff
path: root/hints/irix_6.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-02-16 17:44:57 +0200
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-02-20 12:39:56 +0000
commited00029be3496d12c019f1d9a923f7b6536d2519 (patch)
tree04ddcb908f1840b259d762085c8172f7a1ac28c6 /hints/irix_6.sh
parente89caa191d6b6ba014c124286650efba73f498a6 (diff)
downloadperl-ed00029be3496d12c019f1d9a923f7b6536d2519.tar.gz
5.004_59: hints/irix_6.sh
p4raw-id: //depot/perl@548
Diffstat (limited to 'hints/irix_6.sh')
-rw-r--r--hints/irix_6.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index 72cc2c61db..6d22d524b0 100644
--- a/hints/irix_6.sh
+++ b/hints/irix_6.sh
@@ -116,6 +116,10 @@ set `echo X "$libswanted "|sed -e 's/ sun / /' -e 's/ crypt / /' -e 's/ bsd / /'
shift
libswanted="$*"
+# Perl 5.004_57 introduced new qsort code into pp_ctl.c that
+# makes IRIX 6.2 cc to emit bad code.
+pp_ctl_cflags='optimize=-O'
+
if [ "X$usethreads" != "X" ]; then
if test ! -f /usr/include/pthread.h -o ! -f /usr/lib/libpthread.so; then
uname_r=`uname -r`
@@ -154,7 +158,7 @@ EOF
exit 1
;;
esac
- unset uname-r
+ unset uname_r
fi
ccflags="-DUSE_THREADS $ccflags"
cppflags="-DUSE_THREADS $cppflags"
@@ -166,4 +170,5 @@ EOF
ld="cc"
shift
libswanted="$*"
+ usemymalloc='n'
fi