summaryrefslogtreecommitdiff
path: root/hints/irix_6.sh
diff options
context:
space:
mode:
authorScott Henry <scotth@sgi.com>1998-08-13 02:52:15 -0700
committerGurusamy Sarathy <gsar@cpan.org>1998-09-24 06:55:59 +0000
commit589615b8bf4036432affa65b570e35c394c9cb87 (patch)
tree2384bd9cf72732795a0982ef0b1e513d63944d50 /hints/irix_6.sh
parent0591cd52eda4f5f930a4cc0920c086c98e77b570 (diff)
downloadperl-589615b8bf4036432affa65b570e35c394c9cb87.tar.gz
use STRICT_ALIGNMENT on IRIX to allow usemymalloc=y again
Message-Id: <yd8pve46czk.fsf@hoshi.engr.sgi.com> Subject: [PATCH] Irix USE_LONG_LONG/malloc.c incompatibility (was...) p4raw-id: //depot/perl@1869
Diffstat (limited to 'hints/irix_6.sh')
-rw-r--r--hints/irix_6.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index 384701ffd6..382643b589 100644
--- a/hints/irix_6.sh
+++ b/hints/irix_6.sh
@@ -53,11 +53,11 @@ case "$cc" in
case "`$cc -version 2>&1`" in
*7.0*) # Mongoose 7.0
ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -woff 1009,1042,1048,1110,1116,1184 -OPT:Olimit=0"
- optimize='none'
+ optimize='none'
;;
*7.1*|*7.2|*7.20) # Mongoose 7.1+
ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -OPT:Olimit=0"
- optimize='-O3'
+ optimize='-O3'
# This is a temporary fix for 5.005.
# Leave pp_ctl_cflags line at left margin for Configure. See
# hints/README.hints, especially the section
@@ -65,12 +65,12 @@ case "$cc" in
pp_ctl_cflags='optimize=-O'
;;
*7.*) # Mongoose 7.2.1+
- ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -OPT:Olimit=0:space=on"
- optimize='-O3'
+ ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -OPT:Olimit=0:space=ON"
+ optimize='-O3'
;;
*6.2*) # Ragnarok 6.2
ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184"
- optimize='none'
+ optimize='none'
;;
*) # Be safe and not optimize
ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -OPT:Olimit=0"
@@ -78,9 +78,10 @@ pp_ctl_cflags='optimize=-O'
;;
esac
- ld=ld
+ ld=$cc
# perl's malloc can return improperly aligned buffer
- usemymalloc='undef'
+ # usemymalloc='undef'
+malloc_cflags='ccflags="-DSTRICT_ALIGNMENT $ccflags"'
# NOTE: -L/usr/lib32 -L/lib32 are automatically selected by the linker
ldflags=' -L/usr/local/lib32 -L/usr/local/lib'
cccdlflags=' '