Change 18236 by jhi@kosh on 2002/12/03 01:25:45
According to Rainer Orth <[EMAIL PROTECTED]>
gcc on IRIX (6.2) does not need and does indeed much better
without -D_POSIX_C_SOURCE [perl #15128] (the inclusion of
_POSIX_C_SOURCE in CFLAGS disables the definition of _SGIAPI
and <sys/dirent.h> doesn't define struct dirent64,
which causes reentr.c not to compile)
Affected files ...
.... //depot/maint-5.8/perl/hints/irix_6.sh#4 edit
Differences ...
==== //depot/maint-5.8/perl/hints/irix_6.sh#4 (text) ====
Index: perl/hints/irix_6.sh
--- perl/hints/irix_6.sh#3~18173~ Fri Nov 22 18:02:33 2002
+++ perl/hints/irix_6.sh Mon Dec 2 17:25:45 2002
@@ -170,7 +170,7 @@
test -z "$plibpth" && plibpth='/usr/lib64 /lib64 /usr/ccs/lib'
;;
*gcc*)
- ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE"
+ ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME"
test -z "$optimize" && optimize="-O3"
usenm='undef'
case "`uname -s`" in
End of Patch.