summaryrefslogtreecommitdiff
path: root/hints/irix_5.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-30 08:59:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-30 08:59:24 +0000
commit4e80e7c5725665b3bafef4fcead53e20131b5369 (patch)
treeab26bc5edcfc92ed76b5627f721771b94c5ddcca /hints/irix_5.sh
parent368e8af92165901b8847db2c456b3930fb8e583c (diff)
downloadperl-4e80e7c5725665b3bafef4fcead53e20131b5369.tar.gz
In IRIX 5.3 the cc is awfully confused about the prototype
of select(). p4raw-id: //depot/perl@19086
Diffstat (limited to 'hints/irix_5.sh')
-rw-r--r--hints/irix_5.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/hints/irix_5.sh b/hints/irix_5.sh
index f895bcc5f6..70ea24f918 100644
--- a/hints/irix_5.sh
+++ b/hints/irix_5.sh
@@ -12,7 +12,11 @@ i_time='define'
case "$cc" in
*gcc*) ccflags="$ccflags -D_BSD_TYPES" ;;
-*) ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 4000" ;;
+*) ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 4000"
+# Otherwise the cc thinks that a struct timeval * is not equivalent to
+# a struct timeval *. Yeah, you read that right.
+pp_sys_cflags='ccflags="$ccflags -DPERL_IRIX5_SELECT_TIMEVAL_VOID_CAST"'
+ ;;
esac
lddlflags="-shared"