summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorLionel Cons <lionel.cons@cern.ch>1999-04-01 16:05:28 +0200
committerJarkko Hietaniemi <jhi@iki.fi>1999-04-03 12:27:24 +0000
commit2fe73b3269410a5e221e0fc828a6f8bd01f2caa6 (patch)
tree6218f44fdb42f18af0a1d5bd385436011afcafd4 /hints
parent295c4836ff3c55aa834076b628d35b50b1b4a0d9 (diff)
downloadperl-2fe73b3269410a5e221e0fc828a6f8bd01f2caa6.tar.gz
Add -mabi=64 to ccflags for 64-bit IRIX gcc.
To: jhi@iki.fi Cc: perlbug@perl.com, kstar@isinet.com, Philippe Defert <philippe.defert@cern.ch> Subject: Re: Not OK: perl 5.00503 on IP27-irix 6.5 (UNINSTALLED) Message-Id: <199904011205.OAA11380@mercury.cern.ch> p4raw-id: //depot/cfgperl@3208
Diffstat (limited to 'hints')
-rw-r--r--hints/irix_6.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index 6a115b85bd..1b032cdb70 100644
--- a/hints/irix_6.sh
+++ b/hints/irix_6.sh
@@ -121,6 +121,13 @@ malloc_cflags='ccflags="-DSTRICT_ALIGNMENT $ccflags"'
ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE"
optimize="-O3"
usenm='undef'
+ case "`uname -s`" in
+ # Without the -mabi=64 gcc in 64-bit IRIX has problems passing
+ # and returning small structures. This affects inet_*() and semctl().
+ # See http://reality.sgi.com/ariel/freeware/gcc-2.8.1-notes.html
+ # for more information. Reported by Lionel Cons <lionel.cons@cern.ch>.
+ IRIX64) ccflags="$ccflags -mabi=64" ;;
+ esac
;;
*)
# this is needed to force the old-32 paths