This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
According to Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 3 Dec 2002 01:25:45 +0000 (01:25 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 3 Dec 2002 01:25:45 +0000 (01:25 +0000)
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)

p4raw-id: //depot/maint-5.8/perl@18236

hints/irix_6.sh

index 032c2b8..e0f77ac 100644 (file)
@@ -170,7 +170,7 @@ esac'
        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